X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/33bca7cd655577da0b2b2aac398db221a31700ad..6b41f14ff8f1ed753f44932d4a96ba3ae71eb39d:/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