Skip to content

Commit

Permalink
formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nevinsm committed Oct 21, 2024
1 parent e8e0df4 commit ae2c437
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/Providers/AuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace App\Providers;

use App\Models\User;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Gate;
use App\Models\User;

class AuthServiceProvider extends ServiceProvider
{
Expand All @@ -26,8 +26,7 @@ public function boot()
{
$this->registerPolicies();

//
Gate::define('edit-vocabulary',function(User $user) {
Gate::define('edit-vocabulary', function (User $user) {
return $user->isVocabularyEditor();
});
}
Expand Down

0 comments on commit ae2c437

Please sign in to comment.