]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/PermissionController.php
Add footer element, styles, and associated settings
[bookstack] / app / Http / Controllers / PermissionController.php
index b8ca5a646b808bb8f64507f2763686a66d6d860f..148ae5cd65a3049e421ea2b331f3bfa34f31ed4d 100644 (file)
@@ -53,7 +53,7 @@ class PermissionController extends Controller
         ]);
 
         $this->permissionsRepo->saveNewRole($request->all());
-        $this->showSuccessNotification( trans('settings.role_create_success'));
+        $this->showSuccessNotification(trans('settings.role_create_success'));
         return redirect('/settings/roles');
     }
 
@@ -90,7 +90,7 @@ class PermissionController extends Controller
         ]);
 
         $this->permissionsRepo->updateRole($id, $request->all());
-        $this->showSuccessNotification( trans('settings.role_update_success'));
+        $this->showSuccessNotification(trans('settings.role_update_success'));
         return redirect('/settings/roles');
     }
 
@@ -124,11 +124,11 @@ class PermissionController extends Controller
         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');
     }
 }