summaryrefslogtreecommitdiffstats
path: root/app/controllers/issues_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/issues_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/issues_controller.rb')
-rw-r--r--app/controllers/issues_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index 648848e9b..00a999dce 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -27,7 +27,8 @@ class IssuesController < ApplicationController
before_filter :find_optional_project, :only => [:index]
before_filter :check_for_default_issue_status, :only => [:new, :create]
before_filter :build_new_issue_from_params, :only => [:new, :create]
- accept_key_auth :index, :show, :create, :update, :destroy
+ accept_rss_auth :index, :show
+ accept_api_auth :index, :show, :create, :update, :destroy
rescue_from Query::StatementInvalid, :with => :query_statement_invalid