rollback on artisan call command
another solution must be found aprt from calling the CLI version
This commit is contained in:
parent
bac1ea1386
commit
94befc1f3f
1 changed files with 3 additions and 1 deletions
|
|
@ -48,7 +48,9 @@ class SettingsController extends Controller
|
|||
$redirector = redirect()->route('bo.settings')->with('success', 'Modifications enregistrés !');
|
||||
|
||||
//all settings saved : cache routes
|
||||
Artisan::call('route:cache');
|
||||
//doesn't work : put Ignition routes in route cache
|
||||
//doesn't execute in the same context as CLI call
|
||||
//Artisan::call('route:cache');
|
||||
|
||||
return $redirector;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue