Fix a bug where route:cache would not properly clear the old setup

This commit is contained in:
Nico Stapelbroek
2018-02-04 13:20:27 +01:00
parent 6811612955
commit c8e6a8f7c3

View File

@@ -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'));