2016-11-18 16:59:05 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Application Routes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here is where you can register all of the routes for an application.
|
|
|
|
| It's a breeze. Simply tell Laravel the URIs it should respond to
|
|
|
|
| and give it the controller to call when that URI is requested.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2019-03-02 22:58:37 +08:00
|
|
|
* Setup Wizard.
|
2016-11-18 16:59:05 +08:00
|
|
|
*/
|
2019-03-02 22:58:37 +08:00
|
|
|
Route::group(['prefix' => 'setup'], function () {
|
2017-01-18 22:42:50 +08:00
|
|
|
Route::group(['middleware' => 'setup'], function () {
|
2019-03-02 22:58:37 +08:00
|
|
|
Route::view('/', 'setup.wizard.welcome');
|
2019-03-17 12:05:31 +08:00
|
|
|
Route::any('/database', 'SetupController@database');
|
2019-03-02 22:58:37 +08:00
|
|
|
Route::get('/info', 'SetupController@info');
|
|
|
|
Route::post('/finish', 'SetupController@finish');
|
2017-01-18 22:42:50 +08:00
|
|
|
});
|
2016-11-18 16:59:05 +08:00
|
|
|
|
2019-03-02 22:58:37 +08:00
|
|
|
Route::get('/update', 'SetupController@update');
|
|
|
|
Route::post('/update', 'SetupController@doUpdate');
|
2016-11-18 16:59:05 +08:00
|
|
|
});
|