Beispiel #1
0
 /**
  * Remove the specified role from storage.
  *
  * @param  int $id
  * @return Response
  */
 public function destroy($id)
 {
     try {
         $this->roles->destroy($id);
         return $this->redirect('roles.index');
     } catch (ModelNotFoundException $e) {
         return $this->redirectNotFound();
     }
 }