diff --git a/app/Settings/SettingController.php b/app/Settings/SettingController.php index 6ecc2bd1d..447bb205b 100644 --- a/app/Settings/SettingController.php +++ b/app/Settings/SettingController.php @@ -29,7 +29,7 @@ class SettingController extends Controller // Get application version $version = trim(file_get_contents(base_path('version'))); - return view('settings.' . $category, [ + return view('settings.categories.' . $category, [ 'category' => $category, 'version' => $version, 'guestUser' => User::getGuest(), @@ -57,7 +57,7 @@ class SettingController extends Controller protected function ensureCategoryExists(string $category): void { - if (!view()->exists('settings.' . $category)) { + if (!view()->exists('settings.categories.' . $category)) { abort(404, 'Category not found'); } } diff --git a/resources/views/settings/customization.blade.php b/resources/views/settings/categories/customization.blade.php similarity index 100% rename from resources/views/settings/customization.blade.php rename to resources/views/settings/categories/customization.blade.php diff --git a/resources/views/settings/features.blade.php b/resources/views/settings/categories/features.blade.php similarity index 100% rename from resources/views/settings/features.blade.php rename to resources/views/settings/categories/features.blade.php diff --git a/resources/views/settings/registration.blade.php b/resources/views/settings/categories/registration.blade.php similarity index 100% rename from resources/views/settings/registration.blade.php rename to resources/views/settings/categories/registration.blade.php