diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-10-12 00:39:03 -0600 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-12-13 18:53:14 -0700 |
commit | de3e9eed5ee38ff82931153c4bd59d4ba571663d (patch) | |
tree | 785d6b7aeed4e2ba5a97ef13bda2cf51e3473a48 /lib/api/project_hooks.rb | |
parent | 8f7553d3f8296004b520f093d195d77729566789 (diff) | |
download | gitlab-ce-de3e9eed5ee38ff82931153c4bd59d4ba571663d.tar.gz |
Of course fixing this just reveals another bug.
Diffstat (limited to 'lib/api/project_hooks.rb')
-rw-r--r-- | lib/api/project_hooks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/project_hooks.rb b/lib/api/project_hooks.rb index dcc0fb7a911..214d99ef5f6 100644 --- a/lib/api/project_hooks.rb +++ b/lib/api/project_hooks.rb @@ -3,7 +3,7 @@ module API include PaginationParams before { authenticate! } - before { authorize_admin_project } + after_validation { authorize_admin_project } helpers do params :project_hook_properties do |