Skip to content

Commit

Permalink
Revert "feat: don't manually register policies"
Browse files Browse the repository at this point in the history
This reverts commit df99732.
  • Loading branch information
Mohammad-Alavi committed May 28, 2024
1 parent 0dfbbcb commit b69114b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/Abstracts/Providers/AuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,20 @@

abstract class AuthServiceProvider extends LaravelAuthServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array<class-string, class-string>
*/
protected $policies = [
// 'App\Models\Model' => 'App\Policies\ModelPolicy',
];

/**
* Register any authentication / authorization services.
*/
public function boot(): void
{
$this->registerPolicies();
}
}

0 comments on commit b69114b

Please sign in to comment.