X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/da4308bb0f692056ffc14ddb0b5881b0291b894e..refs/pull/3598/head:/app/Http/Controllers/SettingController.php diff --git a/app/Http/Controllers/SettingController.php b/app/Http/Controllers/SettingController.php index 2e46bbe40..f5e48ca4c 100644 --- a/app/Http/Controllers/SettingController.php +++ b/app/Http/Controllers/SettingController.php @@ -19,7 +19,7 @@ class SettingController extends Controller } /** - * Handle requests to the settings index path + * Handle requests to the settings index path. */ public function index() { @@ -83,7 +83,7 @@ class SettingController extends Controller $this->logActivity(ActivityType::SETTINGS_UPDATE, $category); $this->showSuccessNotification(trans('settings.settings_save_success')); - return redirect("/settings/${category}"); + return redirect("/settings/{$category}"); } protected function ensureCategoryExists(string $category): void