\Dipendra\Programming\Policies\CoursePolicy::class,// Bind Chapter policy \Dipendra\Programming\Models\Chapter::class => \Dipendra\Programming\Policies\ChapterPolicy::class,// Bind Tutorial policy \Dipendra\Programming\Models\Tutorial::class => \Dipendra\Programming\Policies\TutorialPolicy::class, ]; /** * Register any package authentication / authorization services. * * @param \Illuminate\Contracts\Auth\Access\Gate $gate * * @return void */ public function boot(GateContract $gate) { parent::registerPolicies($gate); } }