This commit is contained in:
EwelinaLasowy
2022-02-28 11:31:31 +01:00
parent 61f7bbeca7
commit a45045d9bd
4 changed files with 33 additions and 3 deletions

View File

@@ -5,10 +5,14 @@ declare(strict_types=1);
namespace Toby\Architecture\Providers;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use Toby\Domain\Policies\HolidayPolicy;
use Toby\Eloquent\Models\Holiday;
class AuthServiceProvider extends ServiceProvider
{
protected $policies = [];
protected $policies = [
Holiday::class => HolidayPolicy::class
];
public function boot(): void
{