summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-11-05 17:49:20 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-11-05 17:49:20 +0000
commit7d934c984ae85b50e53a6444cd8916d560e2a528 (patch)
tree705b952c247e598a12b1234e07132afdfefb7022 /app
parent4b1dd334a596abcb52306a5e90a5d8009c83ac2c (diff)
downloadredmine-7d934c984ae85b50e53a6444cd8916d560e2a528.tar.gz
redmine-7d934c984ae85b50e53a6444cd8916d560e2a528.zip
Allow key authentication when updating issues (with tests) #6447
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4366 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/controllers/issues_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index e8511bc60..8f0409a9d 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -27,7 +27,7 @@ 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
+ accept_key_auth :index, :show, :create, :update
rescue_from Query::StatementInvalid, :with => :query_statement_invalid