#57 user can save flights

This commit is contained in:
Nabeel Shahzad
2017-08-03 21:02:02 -05:00
parent 9156b40979
commit 9d53c0103f
8 changed files with 149 additions and 7 deletions

View File

@@ -11,10 +11,12 @@ Route::group([
'middleware' => ['role:admin|user'],
], function () {
Route::resource('dashboard', 'DashboardController');
Route::resource('profile', 'ProfileController');
Route::resource('flights', 'FlightController');
Route::match(['get'], 'flights/search', 'FlightController@search');
Route::match(['post'], 'flights/save', 'FlightController@save');
Route::resource('profile', 'ProfileController');
});
Auth::routes();