clear compiled view cache when update

This commit is contained in:
printempw 2017-01-13 22:34:06 +08:00
parent 38e24f4642
commit 6c34392c11

View File

@ -153,6 +153,9 @@ class SetupController extends Controller
Option::set('version', config('app.version')); Option::set('version', config('app.version'));
} }
// clear all compiled view files
Artisan::call('view:clear');
return view('setup.updates.success', ['tips' => $tips]); return view('setup.updates.success', ['tips' => $tips]);
} }