]);
$this->permissionsRepo->saveNewRole($request->all());
- $this->showSuccessNotification( trans('settings.role_create_success'));
+ $this->showSuccessNotification(trans('settings.role_create_success'));
return redirect('/settings/roles');
}
]);
$this->permissionsRepo->updateRole($id, $request->all());
- $this->showSuccessNotification( trans('settings.role_update_success'));
+ $this->showSuccessNotification(trans('settings.role_update_success'));
return redirect('/settings/roles');
}
try {
$this->permissionsRepo->deleteRole($id, $request->get('migrate_role_id'));
} catch (PermissionsException $e) {
- $this->showErrorNotification( $e->getMessage());
+ $this->showErrorNotification($e->getMessage());
return redirect()->back();
}
- $this->showSuccessNotification( trans('settings.role_delete_success'));
+ $this->showSuccessNotification(trans('settings.role_delete_success'));
return redirect('/settings/roles');
}
}