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

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7573 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-10-04 11:07:47 +00:00
parent 986f0acb00
commit 2a27cc41f0
1 changed files with 2 additions and 1 deletions

View File

@ -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