]> BookStack Code Mirror - bookstack/blobdiff - app/Users/Controllers/RoleController.php
Update wysiwyg.blade.php
[bookstack] / app / Users / Controllers / RoleController.php
index 0052d829dd905c0006d5615c51fa64e3f60ea704..a874ce4d60fc6e207579148be1fdd1104ca605c0 100644 (file)
@@ -154,7 +154,7 @@ class RoleController extends Controller
         } catch (PermissionsException $e) {
             $this->showErrorNotification($e->getMessage());
 
-            return redirect()->back();
+            return redirect("/settings/roles/delete/{$id}");
         }
 
         return redirect('/settings/roles');