group(function () { Route::resource('allinoneaccessibility', 'AllinoneaccessibilityResourceController'); }); // Guard routes for allinoneaccessibility Route::prefix('{guard}/all_in_one_accessibility')->group(function () { Route::resource('allinoneaccessibility', 'AllinoneaccessibilityResourceController'); }); // Public routes for all_in_one_accessibility Route::get('all_in_one_accessibilities/', 'AllInOneAccessibilityPublicController@index'); Route::get('all_in_one_accessibility/{slug?}', 'AllInOneAccessibilityPublicController@show'); if (Trans::isMultilingual()) { Route::group( [ 'prefix' => '{trans}', 'where' => ['trans' => Trans::keys('|')], ], function () { // Guard routes for allinoneaccessibility Route::prefix('{guard}/all_in_one_accessibility')->group(function () { Route::resource('allinoneaccessibility', 'AllinoneaccessibilityResourceController'); }); // Guard routes for allinoneaccessibility Route::prefix('{guard}/all_in_one_accessibility')->group(function () { Route::resource('allinoneaccessibility', 'AllinoneaccessibilityResourceController'); }); // Public routes for all_in_one_accessibility Route::get('all_in_one_accessibilities/', 'AllInOneAccessibilityPublicController@index'); Route::get('all_in_one_accessibility/{slug?}', 'AllInOneAccessibilityPublicController@show'); } ); }