Beispiel #1
0
 /**
  * Response when updating role succeed.
  *
  * @param  \Orchestra\Model\Role  $role
  *
  * @return mixed
  */
 public function destroySucceed(dashboard $dashboard)
 {
     $message = trans('orchestra/control::response.roles.delete', ['name' => $dashboard->getAttribute('name')]);
     return $this->redirectWithMessage(handles('orchestra::dashboard'), $message);
 }