trans_setlocale().'/admin/fbuid'], function () { Route::resource('fbuids', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsAdminWebController'); }); // Admin API routes for fbuids Route::group(['prefix' => trans_setlocale().'api/v1/admin/fbuid'], function () { Route::resource('fbuids', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsAdminApiController'); }); // User web routes for fbuids Route::group(['prefix' => trans_setlocale().'/user/fbuid'], function () { Route::resource('fbuids', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsUserWebController'); }); // User API routes for fbuids Route::group(['prefix' => trans_setlocale().'api/v1/user/fbuid'], function () { Route::resource('fbuids', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsUserApiController'); }); // Public web routes for fbuids Route::group(['prefix' => trans_setlocale().'/fbuids'], function () { Route::get('/', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsPublicWebController@index'); Route::get('/{slug?}', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsPublicWebController@show'); }); // Public API routes for fbuids Route::group(['prefix' => trans_setlocale().'api/v1/fbuids'], function () { Route::get('/', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsPublicApiController@index'); Route::get('/{slug?}', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsPublicApiController@show'); }); // Admin web routes for fbuids_categories Route::group(['prefix' => trans_setlocale().'/admin/fbuid'], function () { Route::resource('fbuids_categories', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsCategoriesAdminWebController'); }); // Admin API routes for fbuids_categories Route::group(['prefix' => trans_setlocale().'api/v1/admin/fbuid'], function () { Route::resource('fbuids_categories', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsCategoriesAdminApiController'); }); // User web routes for fbuids_categories Route::group(['prefix' => trans_setlocale().'/user/fbuid'], function () { Route::resource('fbuids_categories', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsCategoriesUserWebController'); }); // User API routes for fbuids_categories Route::group(['prefix' => trans_setlocale().'api/v1/user/fbuid'], function () { Route::resource('fbuids_categories', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsCategoriesUserApiController'); }); // Public web routes for fbuids_categories Route::group(['prefix' => trans_setlocale().'/fbuids'], function () { Route::get('/', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsCategoriesPublicWebController@index'); Route::get('/{slug?}', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsCategoriesPublicWebController@show'); }); // Public API routes for fbuids_categories Route::group(['prefix' => trans_setlocale().'api/v1/fbuids'], function () { Route::get('/', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsCategoriesPublicApiController@index'); Route::get('/{slug?}', 'Blackwhite29\Fbuid\Http\Controllers\FbuidsCategoriesPublicApiController@show'); });