X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c24b0e93997bcd6bcad475d9ba0adfe86fa01ea6..bf9dd8f350ca1b54afb79dda79506d980ccb5738:/app/controllers/api/users_controller.rb diff --git a/app/controllers/api/users_controller.rb b/app/controllers/api/users_controller.rb index 43d5ec908..d3387bd5f 100644 --- a/app/controllers/api/users_controller.rb +++ b/app/controllers/api/users_controller.rb @@ -13,7 +13,7 @@ module Api def show if @user.visible? - render :action => :show, :content_type => "text/xml" + render :content_type => "text/xml" else head :gone end @@ -33,7 +33,7 @@ module Api @users = User.visible.find(ids) - render :action => :index, :content_type => "text/xml" + render :content_type => "text/xml" end def gpx_files