From 7d934c984ae85b50e53a6444cd8916d560e2a528 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Fri, 5 Nov 2010 17:49:20 +0000 Subject: 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 --- app/controllers/issues_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') 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 -- cgit v1.2.3