X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1017c4c39a1a8523262f290ff20f999223a0572b..97d5d1d3850e63fadd9664b9982428f058625c5b:/app/controllers/user_controller.rb diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index b1a37872b..9972ca3ee 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -165,7 +165,7 @@ class UserController < ApplicationController @user.save! render :nothing => true else - render :status => 400, :nothing => true + render :nothing => true, :status => :method_not_allowed end end