X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e6a1003509f3bdcfbc2af2b21ed80ff5febb2e3e..3880ac5de8150eef3cc5b26eb9814f5c1d681afa:/app/controllers/way_controller.rb diff --git a/app/controllers/way_controller.rb b/app/controllers/way_controller.rb index 9f797d1d8..6ea27deaf 100644 --- a/app/controllers/way_controller.rb +++ b/app/controllers/way_controller.rb @@ -19,7 +19,7 @@ class WayController < ApplicationController way.create_with_history @user render :text => way.id.to_s, :content_type => "text/plain" else - render :nothing => true, :status => :bad_request + render :text => "", :status => :bad_request end end @@ -43,7 +43,7 @@ class WayController < ApplicationController way.update_from(new_way, @user) render :text => way.version.to_s, :content_type => "text/plain" else - render :nothing => true, :status => :bad_request + render :text => "", :status => :bad_request end end @@ -56,7 +56,7 @@ class WayController < ApplicationController way.delete_with_history!(new_way, @user) render :text => way.version.to_s, :content_type => "text/plain" else - render :nothing => true, :status => :bad_request + render :text => "", :status => :bad_request end end @@ -99,7 +99,7 @@ class WayController < ApplicationController render :text => doc.to_s, :content_type => "text/xml" else - render :nothing => true, :status => :bad_request + render :text => "", :status => :bad_request end end