X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/12c1d5e6c05813a0697724277b4d8529a1a7c240..2d8feb6d79af2e96d83cf67ca0771116c9c0f11a:/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 36641fec0..ad5bd45b2 100644 --- a/app/views/traces/georss.rss.builder +++ b/app/views/traces/georss.rss.builder @@ -21,11 +21,11 @@ xml.rss("version" => "2.0", xml.item do xml.title trace.name - 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.link show_trace_url(trace.user, trace) + xml.guid show_trace_url(trace.user, trace) xml.description do - xml.cdata! render(:partial => "description", :object => trace, :formats => [:html]) + xml.cdata! render(:partial => "description", :object => trace, :as => "trace", :formats => [:html]) end xml.dc :creator, trace.user.display_name