##// END OF EJS Templates
Passing the format in the template name is deprecated....
Jean-Philippe Lang -
r10350:5411f93a9aec
parent child
Show More
@@ -402,7 +402,7 class ApplicationController < ActionController::Base
402 @items.sort! {|x,y| y.event_datetime <=> x.event_datetime }
402 @items.sort! {|x,y| y.event_datetime <=> x.event_datetime }
403 @items = @items.slice(0, Setting.feeds_limit.to_i)
403 @items = @items.slice(0, Setting.feeds_limit.to_i)
404 @title = options[:title] || Setting.app_title
404 @title = options[:title] || Setting.app_title
405 render :template => "common/feed.atom", :layout => false,
405 render :template => "common/feed", :formats => [:atom], :layout => false,
406 :content_type => 'application/atom+xml'
406 :content_type => 'application/atom+xml'
407 end
407 end
408
408
General Comments 0
You need to be logged in to leave comments. Login now