]> source.dussan.org Git - redmine.git/commitdiff
deprecated @headers replaced
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 27 Jan 2007 09:25:55 +0000 (09:25 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 27 Jan 2007 09:25:55 +0000 (09:25 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@194 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/feeds_controller.rb

index bfce26f8f7d8c33ea69cf91d35b7927ffeb66309..d984c225ee2ef1e6b646871948603b7e73d67f9f 100644 (file)
@@ -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