diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-27 16:32:48 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-27 16:32:48 +0000 |
commit | 054b7d28f1994a61c04d837a066fa0164d439858 (patch) | |
tree | 4bc2b0c2553c73b91eecdbe7de47ca70be843b6a /app | |
parent | 8458faed11117bd93a0c53eea8cdfb687952bb09 (diff) | |
download | redmine-054b7d28f1994a61c04d837a066fa0164d439858.tar.gz redmine-054b7d28f1994a61c04d837a066fa0164d439858.zip |
Accept key auth for ProjectsController#update (#6841).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4442 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 1e4affb26..3bedd2c78 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -24,7 +24,7 @@ class ProjectsController < ApplicationController before_filter :authorize, :except => [ :index, :list, :new, :create, :copy, :archive, :unarchive, :destroy] before_filter :authorize_global, :only => [:new, :create] before_filter :require_admin, :only => [ :copy, :archive, :unarchive, :destroy ] - accept_key_auth :index, :create + accept_key_auth :index, :create, :update after_filter :only => [:create, :edit, :update, :archive, :unarchive, :destroy] do |controller| if controller.request.post? |