X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a1b179fa384d689e6cb78c2b8d863621e7bff152..606492c3df124092ed119716c5b1cbe922f6b315:/app/views/traces/georss.rss.builder?ds=sidebyside diff --git a/app/views/traces/georss.rss.builder b/app/views/traces/georss.rss.builder index c2f569ae9..36641fec0 100644 --- a/app/views/traces/georss.rss.builder +++ b/app/views/traces/georss.rss.builder @@ -21,8 +21,8 @@ xml.rss("version" => "2.0", xml.item do xml.title trace.name - xml.link url_for(:controller => :traces, :action => :view, :id => trace.id, :display_name => trace.user.display_name, :only_path => false) - xml.guid url_for(:controller => :traces, :action => :view, :id => trace.id, :display_name => trace.user.display_name, :only_path => false) + xml.link url_for(:controller => :traces, :action => :show, :id => trace.id, :display_name => trace.user.display_name, :only_path => false) + xml.guid url_for(:controller => :traces, :action => :show, :id => trace.id, :display_name => trace.user.display_name, :only_path => false) xml.description do xml.cdata! render(:partial => "description", :object => trace, :formats => [:html]) @@ -30,7 +30,7 @@ xml.rss("version" => "2.0", xml.dc :creator, trace.user.display_name - xml.pubDate trace.timestamp.to_s(:rfc822) + xml.pubDate trace.timestamp.to_fs(:rfc822) if trace.latitude && trace.longitude xml.geo :lat, trace.latitude