Skip to content

Instantly share code, notes, and snippets.

@malgorath
Created March 21, 2017 14:28
Show Gist options
  • Save malgorath/ea82062fe5e16668a934468870a1c358 to your computer and use it in GitHub Desktop.
Save malgorath/ea82062fe5e16668a934468870a1c358 to your computer and use it in GitHub Desktop.
This right?
<?php
Route::group(['prefix' => 'ead'], function () {
Route::resource('', 'ead\EadProjectController');
Route::resource('/{ead}/parts', 'ead\EadPartController');
Route::group(['prefix' => 'admin'], function () {
Route::get('/', 'ead\EadProjectController@admin');
Route::resource('msl', 'EadMSLCodeController');
Route::resource('placement', 'EadPartPlacementController');
Route::resource('category', 'EadPartCategoryController');
});
});
Route::get('/', 'HomeController@index');
// Commented out so that Achievo/ATK can handle the authentication required.
// Auth::routes();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment