diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-01-12 10:03:59 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-01-12 10:03:59 +0000 |
commit | 682f0231ff4c4fac35ad3740a9aeb562e11300a5 (patch) | |
tree | b97cc0e6ebb461b9820f771a9eb0fa6c7eada980 /app/views/common | |
parent | 1eda38be4ce08fd7d71b9cdc080b5dfa13c1411f (diff) | |
download | redmine-682f0231ff4c4fac35ad3740a9aeb562e11300a5.tar.gz redmine-682f0231ff4c4fac35ad3740a9aeb562e11300a5.zip |
Adds favicon to ATOM feeds (#14309).
git-svn-id: http://svn.redmine.org/redmine/trunk@12662 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/common')
-rw-r--r-- | app/views/common/feed.atom.builder | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/common/feed.atom.builder b/app/views/common/feed.atom.builder index 70dacc75a..b4c830ee3 100644 --- a/app/views/common/feed.atom.builder +++ b/app/views/common/feed.atom.builder @@ -4,6 +4,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do 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.icon favicon_url xml.updated((@items.first ? @items.first.event_datetime : Time.now).xmlschema) xml.author { xml.name "#{Setting.app_title}" } xml.generator(:uri => Redmine::Info.url) { xml.text! Redmine::Info.app_name; } |