deprecated @headers replaced
git-svn-id: http://redmine.rubyforge.org/svn/trunk@194 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
862c9d76e6
commit
471679b0f0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue