blessing-skin-server/routes/setup.php

30 lines
950 B
PHP
Raw Normal View History

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.
|
*/
/**
* Setup Wizard
*/
Route::group(['prefix' => 'setup'], function ()
{
Route::group(['middleware' => 'setup'], function () {
2018-07-21 16:55:36 +08:00
Route::view('/', 'setup.wizard.welcome');
Route::view('/database', 'setup.wizard.database');
Route::post('/database', 'SetupController@database');
Route::get ('/info', 'SetupController@info');
Route::post('/finish', 'SetupController@finish');
});
2016-11-18 16:59:05 +08:00
Route::get ('/update', 'SetupController@update');
Route::post('/update', 'SetupController@doUpdate');
});