]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
Suppress the creation of boot logs from the ubuntu image
[rails.git] / app / controllers / api_controller.rb
index f9b48cb1c5281800d49d5facae8ea0100d94525d..021ada0cdcaae4a77ad5745e5baeba5627ab16fb 100644 (file)
@@ -67,7 +67,7 @@ class ApiController < ApplicationController
           if gpx_file.identifiable?
             track << (XML::Node.new("name") << gpx_file.name)
             track << (XML::Node.new("desc") << gpx_file.description)
-            track << (XML::Node.new("url") << url_for(:controller => "trace", :action => "view", :display_name => gpx_file.user.display_name, :id => gpx_file.id))
+            track << (XML::Node.new("url") << url_for(:controller => "traces", :action => "view", :display_name => gpx_file.user.display_name, :id => gpx_file.id))
           end
         else
           # use the anonymous track segment if the user hasn't allowed