'admin'], function () { Route::resource('/category/category', 'Cms\Category\Http\Controllers\CategoryAdminController'); }); // User routes for category Route::group(['prefix' => 'user'], function () { Route::resource('/category/category', 'Cms\Category\Http\Controllers\CategoryUserController'); }); // Public routes for category Route::get('category/category', 'Cms\Category\Http\Controllers\CategoryPublicController@index'); Route::get('category/category/{slug?}', 'Cms\Category\Http\Controllers\CategoryPublicController@show');