]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/users_controller.rb
Merge branch 'master' into patch/view_migration
[rails.git] / app / controllers / api / users_controller.rb
index e6922e0a078da5b390a452b017eb145422daa959..d3387bd5ffaaa1f48a0e32dff1b32d25ae3eb639 100644 (file)
@@ -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