FEATURE #1358: prepare environment for login

Initialize routes, middleware and some basic controllers/view for further implementation.
This commit is contained in:
Michal Kváček
2016-01-20 21:01:53 +01:00
parent 2b4bc0f5f5
commit 4ab361adeb
11 changed files with 98 additions and 85 deletions
+10 -4
View File
@@ -11,7 +11,6 @@
|
*/
/*
|--------------------------------------------------------------------------
| Application Routes
@@ -23,8 +22,15 @@
|
*/
Route::group(['middleware' => ['web']], function () {
Route::get('/test', 'TestController@showIndex');
Route::get('login', 'Admin\LoginForm@showLoginForm');
});
Route::group([
'middleware' => ['auth'],
'namespace' => 'Admin',
'prefix' => 'admin'
], function () {
Route::get('/', 'Dashboard@showIndex');
});