deprecated @headers replaced

git-svn-id: http://redmine.rubyforge.org/svn/trunk@194 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-01-27 09:25:55 +00:00
parent 862c9d76e6
commit 471679b0f0
1 changed files with 1 additions and 1 deletions

View 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