]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/relation_controller.rb
Fix search icon positioning
[rails.git] / app / controllers / relation_controller.rb
index 0b989d11e5fc21b8ba5dff32c55f3e6262698c04..39021218fb00811e4047f45c1f4c0172e0f9164a 100644 (file)
@@ -45,7 +45,7 @@ class RelationController < ApplicationController
       relation.update_from new_relation, @user
       render :text => relation.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 RelationController < ApplicationController
       relation.delete_with_history!(new_relation, @user)
       render :text => relation.version.to_s, :content_type => "text/plain"
     else
-      render :nothing => true, :status => :bad_request
+      render :text => "", :status => :bad_request
     end
   end
 
@@ -125,7 +125,7 @@ class RelationController < ApplicationController
       render :text => doc.to_s, :content_type => "text/xml"
       
     else
-      render :nothing => true, :status => :gone
+      render :text => "", :status => :gone
     end
   end