]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_controller.rb
Generate hash-based permalinks
[rails.git] / app / controllers / user_controller.rb
index 875dc2d143929d3b3eafd2c3e99669cb2b229f4f..b96b66464445575fabf8dc26436fa9658c185590 100644 (file)
@@ -393,7 +393,7 @@ class UserController < ApplicationController
   end
 
   def api_read
-    render :nothing => true, :status => :gone unless @this_user.visible?
+    render :text => "", :status => :gone unless @this_user.visible?
   end
 
   def api_details