summaryrefslogtreecommitdiffstats
path: root/app/views/common/feed.atom.rxml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/common/feed.atom.rxml')
-rw-r--r--app/views/common/feed.atom.rxml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/common/feed.atom.rxml b/app/views/common/feed.atom.rxml
index 8d07cf208..629ea4afa 100644
--- a/app/views/common/feed.atom.rxml
+++ b/app/views/common/feed.atom.rxml
@@ -1,8 +1,8 @@
xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
xml.title truncate_single_line(@title, 100)
- xml.link "rel" => "self", "href" => url_for(params.merge({:format => nil, :only_path => false}))
- xml.link "rel" => "alternate", "href" => url_for(:controller => 'welcome', :only_path => false)
+ xml.link "rel" => "self", "href" => url_for(params.merge(:only_path => false))
+ xml.link "rel" => "alternate", "href" => url_for(params.merge(:only_path => false, :format => nil, :key => nil))
xml.id url_for(:controller => 'welcome', :only_path => false)
xml.updated((@items.first ? @items.first.event_datetime : Time.now).xmlschema)
xml.author { xml.name "#{Setting.app_title}" }