X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a25b7953b3889ce6847a13c579fa9fd32219b5e3..8aeb16a50c3cd55c953aaec8dcc2b881fb132c88:/app/controllers/user_blocks_controller.rb?ds=sidebyside diff --git a/app/controllers/user_blocks_controller.rb b/app/controllers/user_blocks_controller.rb index d427e5fa5..551371794 100644 --- a/app/controllers/user_blocks_controller.rb +++ b/app/controllers/user_blocks_controller.rb @@ -64,7 +64,7 @@ class UserBlocksController < ApplicationController render :action => "new" end else - redirect_to new_user_block_path(:display_name => params[:display_name]) + redirect_to new_user_block_path(params[:display_name]) end end @@ -101,7 +101,7 @@ class UserBlocksController < ApplicationController end end else - redirect_to edit_user_block_path(:id => params[:id]) + redirect_to edit_user_block_path(params[:id]) end end