phpvms/routes/admin.php
2017-06-11 11:36:16 -05:00

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');
});*/