X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ff0569829f81f868e054e6430eaf11bf779d1213..cffadd7c91c3f5cbae151620c58b2ce90630140d:/app/controllers/user_blocks_controller.rb 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