Merge branch 'user_management' into authentication

This commit is contained in:
Michal Kváček
2016-01-22 17:27:36 +01:00
37 changed files with 3476 additions and 108 deletions
+8 -23
View File
@@ -1,27 +1,8 @@
<?php
/*
|--------------------------------------------------------------------------
| Routes File
|--------------------------------------------------------------------------
|
| Here is where you will register all of the routes in 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.
|
*/
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| This route group applies the "web" middleware group to every route
| it contains. The "web" middleware group is defined in your HTTP
| kernel and includes session state, CSRF protection, and more.
|
*/
/**
* This routing groups is used for routing along public part of website
*/
Route::group(['middleware' => ['web']], function () {
Route::get('login', 'Admin\Login@getLoginForm')
->name('loginForm');
@@ -32,7 +13,11 @@ Route::group(['middleware' => ['web']], function () {
->name('login');
});
// list of admin routes
/*******************************************************************************/
/**
* This route group serves to handle request in admin
*/
Route::group([
// 'middleware' => ['auth'],
'namespace' => 'Admin',