X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/33ea119c8f520a7e679e38b569c202976907a501..18ec2730389a92a74fd3fd6d85c22c7403fdbf74:/app/views/traces/georss.rss.builder diff --git a/app/views/traces/georss.rss.builder b/app/views/traces/georss.rss.builder index 66dad596d..b17192ec8 100644 --- a/app/views/traces/georss.rss.builder +++ b/app/views/traces/georss.rss.builder @@ -7,22 +7,22 @@ xml.rss("version" => "2.0", xml.channel do xml.title t(".title") xml.description t(".title") - xml.link url_for(:controller => :traces, :action => :list, :only_path => false) + xml.link url_for(:controller => :traces, :action => :index, :only_path => false) xml.image do xml.url image_url("mag_map-rss2.0.png") xml.title t(".title") xml.width 100 xml.height 100 - xml.link url_for(:controller => :traces, :action => :list, :only_path => false) + xml.link url_for(:controller => :traces, :action => :index, :only_path => false) end @traces.each do |trace| 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])