| 1234567891011121314151617181920212223242526272829 |
- <?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.
- |
- */
- //Admin
- Route::group(['namespace'=>'Admin','middleware'=>['admin.login']],function() {
- Route::get('/', 'IndexController@index');
- Route::get('/change_pswd', 'IndexController@change_pswd');
- Route::post('/pswd', 'IndexController@pswd');
- Route::get('/user_list', 'UserController@user_list');
- Route::resource('user', 'UserController');
- Route::get('/out', 'IndexController@out');
- Route::get('/table','TableController@index');
- Route::get('/table/{id}','TableController@show');
- });
- Route::any('/login', 'Admin\IndexController@login');
|