summaryrefslogtreecommitdiffstats
path: root/app/controllers/issue_relations_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/issue_relations_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/issue_relations_controller.rb')
-rw-r--r--app/controllers/issue_relations_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/issue_relations_controller.rb b/app/controllers/issue_relations_controller.rb
index 9a1754674..383e748af 100644
--- a/app/controllers/issue_relations_controller.rb
+++ b/app/controllers/issue_relations_controller.rb
@@ -19,7 +19,7 @@ class IssueRelationsController < ApplicationController
before_filter :find_issue, :find_project_from_association, :authorize, :only => [:index, :create]
before_filter :find_relation, :except => [:index, :create]
- accept_key_auth :index, :show, :create, :destroy
+ accept_api_auth :index, :show, :create, :destroy
def index
@relations = @issue.relations