From c8e6a8f7c3cc37c3b480694c8027610f2cf9c136 Mon Sep 17 00:00:00 2001 From: Nico Stapelbroek Date: Sun, 4 Feb 2018 13:20:27 +0100 Subject: [PATCH] Fix a bug where route:cache would not properly clear the old setup --- app/Http/Controllers/Dashboard/SettingsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Dashboard/SettingsController.php b/app/Http/Controllers/Dashboard/SettingsController.php index 354c0642..383db5e9 100644 --- a/app/Http/Controllers/Dashboard/SettingsController.php +++ b/app/Http/Controllers/Dashboard/SettingsController.php @@ -386,7 +386,7 @@ class SettingsController extends Controller } if (Binput::has('always_authenticate')) { - Artisan::call('route:cache'); + Artisan::call('route:clear'); } return Redirect::back()->withSuccess(trans('dashboard.settings.edit.success'));