Airlines model and controller

This commit is contained in:
Nabeel Shahzad
2017-06-08 20:02:52 -05:00
parent 1e049fa8a9
commit 4fcfc84ccf
25 changed files with 724 additions and 138 deletions

View File

@@ -16,5 +16,18 @@ Route::get('/', function () {
});
Auth::routes();
Route::get('/home', 'HomeController@index');
//Auth::routes();
/**
* Admin routes
*/
Route::group([
'namespace' => 'Admin',
'middleware' => 'auth',
'prefix' => 'admin',
], function () {
Route::resource('airlines', 'AirlinesController');
});