Commit 5ee8a9aa authored by jplang's avatar jplang

Passing the format in the template name is deprecated.

git-svn-id: https://svn.redmine.org/redmine/trunk@10561 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent b991465c
......@@ -402,7 +402,7 @@ 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", :layout => false,
render :template => "common/feed", :formats => [:atom], :layout => false,
:content_type => 'application/atom+xml'
end
......
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