Add finance controller; morphable expense type so they can be applied to any model #130
This commit is contained in:
@@ -21,6 +21,9 @@ Route::group([
|
||||
# fares
|
||||
Route::resource('fares', 'FareController');
|
||||
|
||||
# finances
|
||||
Route::resource('finances', 'FinanceController');
|
||||
|
||||
# flights and aircraft associations
|
||||
Route::resource('flights', 'FlightController');
|
||||
Route::match(['get', 'post', 'put', 'delete'], 'flights/{id}/fares', 'FlightController@fares');
|
||||
|
||||
Reference in New Issue
Block a user