group(function () { Route::resource('staff', 'StaffResourceController'); }); // Guard routes for galleries Route::prefix('{guard}/staff')->group(function () { Route::resource('galleries', 'GalleriesResourceController'); }); // Public routes for staff Route::get('staff/', 'StaffPublicController@index'); Route::get('staff/{slug?}', 'StaffPublicController@show');