'/admin/blog'], function () { Route::put('news/workflow/{blog}/{step}', 'BlogAdminController@putWorkflow'); Route::resource('blog', 'BlogAdminController'); }); // User routes for blog Route::group(['prefix' => '/user/blog'], function () { Route::resource('blog', 'BlogUserController'); }); // Public routes for blog Route::group(['prefix' => '/blogs'], function () { Route::get('news/workflow/{blog}/{step}/{user}', 'BlogController@getWorkflow'); Route::get('/', 'BlogPublicController@index'); Route::get('/{slug?}', 'BlogPublicController@show'); });