summaryrefslogtreecommitdiffstats
path: root/app/views/journals/index.builder
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-01-12 10:03:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-01-12 10:03:59 +0000
commit682f0231ff4c4fac35ad3740a9aeb562e11300a5 (patch)
treeb97cc0e6ebb461b9820f771a9eb0fa6c7eada980 /app/views/journals/index.builder
parent1eda38be4ce08fd7d71b9cdc080b5dfa13c1411f (diff)
downloadredmine-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/journals/index.builder')
-rw-r--r--app/views/journals/index.builder1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/journals/index.builder b/app/views/journals/index.builder
index a81ff98a8..11b73f53c 100644
--- a/app/views/journals/index.builder
+++ b/app/views/journals/index.builder
@@ -4,6 +4,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
xml.link "rel" => "self", "href" => url_for(:format => 'atom', :key => User.current.rss_key, :only_path => false)
xml.link "rel" => "alternate", "href" => home_url(:only_path => false)
xml.id url_for(:controller => 'welcome', :only_path => false)
+ xml.icon favicon_url
xml.updated((@journals.first ? @journals.first.event_datetime : Time.now).xmlschema)
xml.author { xml.name "#{Setting.app_title}" }
@journals.each do |change|