'admin/blog'], function () { 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('/', 'BlogPublicController@index'); Route::get('/{slug?}', 'BlogPublicController@show'); });