'App\Policies\ModelPolicy', Application::class => ApplicationPolicy::class, Profile::class => ProfilePolicy::class, User::class => UserPolicy::class, Vacancy::class => VacancyPolicy::class, //Form::class => FormPolicy::class 'App\Form' => 'App\Policies\FormPolicy', Vote::class => VoteController::class, Ban::class => BanController::class, Appointment::class => AppointmentController::class ]; /** * Register any authentication / authorization services. * * @return void */ public function boot() { $this->registerPolicies(); // } }