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