summaryrefslogtreecommitdiffstats
path: root/app/views/issues/changes.rxml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-05 08:25:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-05 08:25:22 +0000
commit942091f9e844f673240d75c27f4c6d2167a664e1 (patch)
tree1f27b4f8c26722b66f95dae8adeeeb40ed7513fa /app/views/issues/changes.rxml
parent8ea2ecb983c2a48c1a8ec5bb680f711829a91e0c (diff)
downloadredmine-942091f9e844f673240d75c27f4c6d2167a664e1.tar.gz
redmine-942091f9e844f673240d75c27f4c6d2167a664e1.zip
Display links to Atom feeds (closes #496, #750).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1185 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues/changes.rxml')
-rw-r--r--app/views/issues/changes.rxml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/issues/changes.rxml b/app/views/issues/changes.rxml
index f1aa5d206..239d2d6a3 100644
--- a/app/views/issues/changes.rxml
+++ b/app/views/issues/changes.rxml
@@ -1,12 +1,12 @@
xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
xml.title @title
- xml.link "rel" => "self", "href" => url_for(:controller => 'feeds', :action => 'history', :format => 'atom', :only_path => false)
- xml.link "rel" => "alternate", "href" => url_for(:controller => 'welcome', :only_path => false)
+ 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.updated((@changes.first ? @changes.first.event_datetime : Time.now).xmlschema)
+ xml.updated((@journals.first ? @journals.first.event_datetime : Time.now).xmlschema)
xml.author { xml.name "#{Setting.app_title}" }
- @changes.each do |change|
+ @journals.each do |change|
issue = change.issue
xml.entry do
xml.title "#{issue.project.name} - #{issue.tracker.name} ##{issue.id}: #{issue.subject}"