fix: reset view cache when updating settings
This commit is contained in:
parent
4485340355
commit
f1bb958609
1 changed files with 2 additions and 0 deletions
|
|
@ -59,6 +59,8 @@ class SettingsController extends Controller
|
|||
|
||||
// All settings saved : cache routes.
|
||||
Artisan::call('route:clear');
|
||||
// Clear view cache
|
||||
Artisan::call('view:clear');
|
||||
// Programmer un php artisan optimize ? (une fois par jour la nuit par exemple).
|
||||
return $redirector;
|
||||
}//end if
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue