summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-12-22 11:45:37 +0000
committerGo MAEDA <maeda@farend.jp>2020-12-22 11:45:37 +0000
commita001b8e46f270fee95dc0acc724e311571873522 (patch)
tree607ce4800cac747ef20733b10ed3edb44172cafa
parent7955452b6a750963fe19c778c7485cc8d208a06f (diff)
downloadredmine-a001b8e46f270fee95dc0acc724e311571873522.tar.gz
redmine-a001b8e46f270fee95dc0acc724e311571873522.zip
Revert r20455 (#10535).
git-svn-id: http://svn.redmine.org/redmine/trunk@20683 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/common/feed.atom.builder27
1 files changed, 3 insertions, 24 deletions
diff --git a/app/views/common/feed.atom.builder b/app/views/common/feed.atom.builder
index 0fbe1063c..ddf512256 100644
--- a/app/views/common/feed.atom.builder
+++ b/app/views/common/feed.atom.builder
@@ -4,30 +4,9 @@ protocol = Setting.protocol
host = Setting.host_name
xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
- xml.title truncate_single_line_raw(@title, 100)
- xml.link(
- "rel" => "self",
- "href" =>
- url_for(
- :params => request.query_parameters,
- :only_path => false, :format => 'atom',
- :protocol => protocol, :host => host
- )
- )
- xml.link(
- "rel" => "alternate",
- "href" =>
- url_for(
- :params =>
- request.query_parameters.merge(
- :format => nil,
- :key => nil
- ),
- :only_path => false,
- :protocol => protocol,
- :host => host
- )
- )
+ xml.title truncate_single_line_raw(@title, 100)
+ xml.link "rel" => "self", "href" => url_for(:params => request.query_parameters, :only_path => false, :format => 'atom', :protocol => protocol, :host => host)
+ xml.link "rel" => "alternate", "href" => url_for(:params => request.query_parameters.merge(:format => nil, :key => nil), :only_path => false, :protocol => protocol, :host => host)
xml.id home_url
xml.icon favicon_url
xml.updated((@items.first ? @items.first.event_datetime : Time.now).xmlschema)