From 471679b0f0933eecbb2e423b5d51227c70f771d3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 27 Jan 2007 09:25:55 +0000 Subject: [PATCH] deprecated @headers replaced git-svn-id: http://redmine.rubyforge.org/svn/trunk@194 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/feeds_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/feeds_controller.rb b/app/controllers/feeds_controller.rb index bfce26f8..d984c225 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