summaryrefslogtreecommitdiffstats
path: root/app/controllers/news_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-09 08:56:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-09 08:56:07 +0000
commit93c2b92a4b5b7003be3113b5d9baf2a0448402a8 (patch)
treea6374caf6bcb9aebf9850003a7fc202055c1c390 /app/controllers/news_controller.rb
parent01d34d65d9fe6df113f2145f5d5881a1e84c22e7 (diff)
downloadredmine-93c2b92a4b5b7003be3113b5d9baf2a0448402a8.tar.gz
redmine-93c2b92a4b5b7003be3113b5d9baf2a0448402a8.zip
Separation of RSS/API auth actions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6197 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/news_controller.rb')
-rw-r--r--app/controllers/news_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/news_controller.rb b/app/controllers/news_controller.rb
index bc7eabb58..7dbd80a57 100644
--- a/app/controllers/news_controller.rb
+++ b/app/controllers/news_controller.rb
@@ -23,7 +23,8 @@ class NewsController < ApplicationController
before_filter :find_project, :only => [:new, :create]
before_filter :authorize, :except => [:index]
before_filter :find_optional_project, :only => :index
- accept_key_auth :index
+ accept_rss_auth :index
+ accept_api_auth :index
helper :watchers