/** * Create a new controller instance. * * @return void */ public function delete() { if (Gate::denies('isAdmin')) { dd('You are not admin'); } else { dd('Admin allowed'); } }