22 lines
587 B
PHP
22 lines
587 B
PHP
<?php
|
|
/**
|
|
* Admin routes
|
|
*/
|
|
|
|
/*Route::get('/admin', [
|
|
'middleware' => ['role:admin'],
|
|
'uses' => 'Http\Controllers\Admin\DashboardController@index'
|
|
]);
|
|
|
|
Route::group([
|
|
'namespace' => 'Http\Controllers\Admin',
|
|
//'middleware' => ['role:admin'],
|
|
'prefix' => 'admin',
|
|
], function () {
|
|
Route::resource('airports', 'AirportController');
|
|
Route::resource('airlines', 'AirlinesController');
|
|
Route::resource('aircraft', 'AircraftController');
|
|
Route::resource('aircraftclasses', 'AircraftClassController');
|
|
Route::resource('fares', 'FareController');
|
|
});*/
|