diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-11-05 16:29:56 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-11-05 16:29:56 +0000 |
commit | 4b1dd334a596abcb52306a5e90a5d8009c83ac2c (patch) | |
tree | 647ebd0ea7e3fca0f901b0be24e77a3e4818d19b /app/controllers/issues_controller.rb | |
parent | c967899b145619080197d32d801f99484b485ed7 (diff) | |
download | redmine-4b1dd334a596abcb52306a5e90a5d8009c83ac2c.tar.gz redmine-4b1dd334a596abcb52306a5e90a5d8009c83ac2c.zip |
Allow key authentication when creating issues (with tests) #6447
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4365 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issues_controller.rb')
-rw-r--r-- | app/controllers/issues_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 67488b753..e8511bc60 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 + accept_key_auth :index, :show, :create rescue_from Query::StatementInvalid, :with => :query_statement_invalid |