]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/users_controller.rb
Rework to ensure views are named after the controller method name
[rails.git] / app / controllers / api / users_controller.rb
index e6922e0a078da5b390a452b017eb145422daa959..43d5ec90883752b3212a9dfb73e32e5633b53de9 100644 (file)
@@ -38,7 +38,7 @@ module Api
 
     def gpx_files
       @traces = current_user.traces.reload
-      render "api/traces/trace", :content_type => "application/xml"
+      render :content_type => "application/xml"
     end
 
     private