X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/17e6e69c39072d8e6cb316b75b311e89c92cca45..233c6c0e97d994b92700f3e40d7b21b0da4f373c:/app/controllers/api/users_controller.rb?ds=sidebyside diff --git a/app/controllers/api/users_controller.rb b/app/controllers/api/users_controller.rb index e6922e0a0..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,12 +33,12 @@ module Api @users = User.visible.find(ids) - render :action => :index, :content_type => "text/xml" + render :content_type => "text/xml" end def gpx_files @traces = current_user.traces.reload - render "api/traces/trace", :content_type => "application/xml" + render :content_type => "application/xml" end private