Allow API auth on GET /versions/:id (#10241).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8880 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9f71ca95d9
commit
4cf6901057
|
@ -23,7 +23,7 @@ class VersionsController < ApplicationController
|
||||||
before_filter :find_project, :only => [:index, :new, :create, :close_completed]
|
before_filter :find_project, :only => [:index, :new, :create, :close_completed]
|
||||||
before_filter :authorize
|
before_filter :authorize
|
||||||
|
|
||||||
accept_api_auth :index, :create, :update, :destroy
|
accept_api_auth :index, :show, :create, :update, :destroy
|
||||||
|
|
||||||
helper :custom_fields
|
helper :custom_fields
|
||||||
helper :projects
|
helper :projects
|
||||||
|
|
Loading…
Reference in New Issue