'setup'], function () { Route::group(['middleware' => 'setup'], function () { Route::view('/', 'setup.wizard.welcome'); Route::any('/database', 'SetupController@database'); Route::get('/info', 'SetupController@info'); Route::post('/finish', 'SetupController@finish'); }); Route::get('/update', 'SetupController@update'); Route::post('/update', 'SetupController@doUpdate'); });