'/admin/celeb'], function () { Route::put('news/workflow/{celebs}/{step}', 'CelebsAdminController@putWorkflow'); Route::resource('celebs', 'CelebsAdminController'); }); // User routes for celebs Route::group(['prefix' => '/user/celeb'], function () { Route::resource('celebs', 'CelebsUserController'); }); // Public routes for celebs Route::group(['prefix' => '/celebs'], function () { Route::get('news/workflow/{celebs}/{step}/{user}', 'CelebsController@getWorkflow'); Route::get('/', 'CelebsPublicController@index'); Route::get('/{slug?}', 'CelebsPublicController@show'); }); // Admin routes for occupation Route::group(['prefix' => '/admin/celeb'], function () { Route::put('news/workflow/{occupation}/{step}', 'OccupationAdminController@putWorkflow'); Route::resource('occupation', 'OccupationAdminController'); }); // User routes for occupation Route::group(['prefix' => '/user/celeb'], function () { Route::resource('occupation', 'OccupationUserController'); }); // Public routes for occupation Route::group(['prefix' => '/celebs'], function () { Route::get('news/workflow/{occupation}/{step}/{user}', 'OccupationController@getWorkflow'); Route::get('/', 'OccupationPublicController@index'); Route::get('/{slug?}', 'OccupationPublicController@show'); }); // Admin routes for cel_ocu Route::group(['prefix' => '/admin/celeb'], function () { Route::put('news/workflow/{cel_ocu}/{step}', 'CelOcuAdminController@putWorkflow'); Route::resource('cel_ocu', 'CelOcuAdminController'); }); // User routes for cel_ocu Route::group(['prefix' => '/user/celeb'], function () { Route::resource('cel_ocu', 'CelOcuUserController'); }); // Public routes for cel_ocu Route::group(['prefix' => '/celebs'], function () { Route::get('news/workflow/{cel_ocu}/{step}/{user}', 'CelOcuController@getWorkflow'); Route::get('/', 'CelOcuPublicController@index'); Route::get('/{slug?}', 'CelOcuPublicController@show'); });