X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/49ba5ab6d2e98221246635327eb15dc71c97e67d..971fbc28b890027e78c17f62f7d410796116f9a2:/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