]> source.dussan.org Git - redmine.git/commitdiff
remove hard-coded '.rxml' from ApplicationController 'render_feed' (#6317)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 4 Oct 2011 11:07:47 +0000 (11:07 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 4 Oct 2011 11:07:47 +0000 (11:07 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7573 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/application_controller.rb

index 260bf1f0e203a69b913c84369d3a54ed5b86b183..bf05db03459dd696064acc6c90d49e3f721ccc5f 100644 (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