X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5b4636d5213de2e699769821031c37663ab71557..f77d4dc4f71b15af58ee6e5b5d63c436482e7b19:/app/controllers/api/users_controller.rb?ds=inline diff --git a/app/controllers/api/users_controller.rb b/app/controllers/api/users_controller.rb index 3180cabcc..d765b4904 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