fixed auth and non-authed home page

This commit is contained in:
Nabeel Shahzad
2017-06-09 15:07:29 -05:00
parent 8831f875ef
commit 88f6730a8d
13 changed files with 346 additions and 419 deletions

View File

@@ -9,7 +9,7 @@ Route::get('/admin', function () {
Route::group([
'namespace' => 'Admin',
//'middleware' => 'auth',
'middleware' => 'auth',
'prefix' => 'admin',
], function () {
Route::resource('airlines', 'AirlinesController');