mirror of
https://github.com/redmine/redmine.git
synced 2026-03-05 20:11:36 +01:00
deprecated @headers replaced
git-svn-id: http://redmine.rubyforge.org/svn/trunk@194 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user