trans_setlocale().'/admin/catalogo'], function () { Route::resource('catalogo', 'Catalogo\Catalogo\Http\Controllers\CatalogoAdminWebController'); }); // Admin API routes for catalogo Route::group(['prefix' => trans_setlocale().'api/v1/admin/catalogo'], function () { Route::resource('catalogo', 'Catalogo\Catalogo\Http\Controllers\CatalogoAdminApiController'); }); // User web routes for catalogo Route::group(['prefix' => trans_setlocale().'/user/catalogo'], function () { Route::resource('catalogo', 'Catalogo\Catalogo\Http\Controllers\CatalogoUserWebController'); }); // User API routes for catalogo Route::group(['prefix' => trans_setlocale().'api/v1/user/catalogo'], function () { Route::resource('catalogo', 'Catalogo\Catalogo\Http\Controllers\CatalogoUserApiController'); }); // Public web routes for catalogo Route::group(['prefix' => trans_setlocale().'/catalogos'], function () { Route::get('/', 'Catalogo\Catalogo\Http\Controllers\CatalogoPublicWebController@index'); Route::get('/{slug?}', 'Catalogo\Catalogo\Http\Controllers\CatalogoPublicWebController@show'); }); // Public API routes for catalogo Route::group(['prefix' => trans_setlocale().'api/v1/catalogos'], function () { Route::get('/', 'Catalogo\Catalogo\Http\Controllers\CatalogoPublicApiController@index'); Route::get('/{slug?}', 'Catalogo\Catalogo\Http\Controllers\CatalogoPublicApiController@show'); });