'admin'], function () { Route::resource('/package/user', 'None\Package\Http\Controllers\UserAdminController'); }); // User routes for user Route::group(['prefix' => 'user'], function () { Route::resource('/package/user', 'None\Package\Http\Controllers\UserUserController'); }); // Public routes for user Route::get('package/user', 'None\Package\Http\Controllers\UserPublicController@index'); Route::get('package/user/{slug?}', 'None\Package\Http\Controllers\UserPublicController@show');