From: Jean-Philippe Lang Date: Sat, 27 Jan 2007 09:25:55 +0000 (+0000) Subject: deprecated @headers replaced X-Git-Tag: 0.4.2~66 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=471679b0f0933eecbb2e423b5d51227c70f771d3;p=redmine.git deprecated @headers replaced git-svn-id: http://redmine.rubyforge.org/svn/trunk@194 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/controllers/feeds_controller.rb b/app/controllers/feeds_controller.rb index bfce26f8f..d984c225e 100644 --- a/app/controllers/feeds_controller.rb +++ b/app/controllers/feeds_controller.rb @@ -20,6 +20,6 @@ class FeedsController < ApplicationController def news @news = News.find :all, :order => 'news.created_on DESC', :limit => 10, :include => [ :author, :project ] - @headers["Content-Type"] = "application/rss+xml" + headers["Content-Type"] = "application/rss+xml" end end