Commit 489507d2 authored by tmaruyama's avatar tmaruyama

remove hard-coded '.rxml' from ApplicationController 'render_feed' (#6317)

git-svn-id: https://svn.redmine.org/redmine/trunk@7573 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent c027aa85
......@@ -334,7 +334,8 @@ class ApplicationController < ActionController::Base
@items.sort! {|x,y| y.event_datetime <=> x.event_datetime }
@items = @items.slice(0, Setting.feeds_limit.to_i)
@title = options[:title] || Setting.app_title
render :template => "common/feed.atom.rxml", :layout => false, :content_type => 'application/atom+xml'
render :template => "common/feed.atom", :layout => false,
:content_type => 'application/atom+xml'
end
# TODO: remove in Redmine 1.4
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment