phpvms/routes/admin.php
Nabeel Shahzad 8831f875ef user info
2017-06-09 14:47:02 -05:00

18 lines
340 B
PHP

<?php
/**
* Admin routes
*/
Route::get('/admin', function () {
return redirect('/admin/airlines');
});
Route::group([
'namespace' => 'Admin',
//'middleware' => 'auth',
'prefix' => 'admin',
], function () {
Route::resource('airlines', 'AirlinesController');
Route::resource('aircraft', 'AircraftController');
});