]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/SettingController.php
Fixed failing test after drawio default url change
[bookstack] / app / Http / Controllers / SettingController.php
index 598058ef4822afd80a66a0e445e2bdc8ded2654d..2e46bbe409951ab082a0d47e2dd70132b51b1a65 100644 (file)
@@ -19,9 +19,17 @@ class SettingController extends Controller
     }
 
     /**
-     * Display a listing of the settings.
+     * Handle requests to the settings index path
      */
-    public function index(string $category)
+    public function index()
+    {
+        return redirect('/settings/features');
+    }
+
+    /**
+     * Display the settings for the given category.
+     */
+    public function category(string $category)
     {
         $this->ensureCategoryExists($category);
         $this->checkPermission('settings-manage');