\Test\Test\Policies\NewsPolicy::class,// Bind NewsCategory policy \Test\Test\Models\NewsCategory::class => \Test\Test\Policies\NewsCategoryPolicy::class, ]; /** * Register any package authentication / authorization services. * * @param \Illuminate\Contracts\Auth\Access\Gate $gate * * @return void */ public function boot(GateContract $gate) { parent::registerPolicies($gate); } }