diff options
author | Nihad Abbasov <narkoz.2008@gmail.com> | 2013-05-06 23:09:23 +0400 |
---|---|---|
committer | Nihad Abbasov <narkoz.2008@gmail.com> | 2013-05-06 23:09:23 +0400 |
commit | 77d0e41df00c45aaafdec5fd6cdddce003c29445 (patch) | |
tree | e75df356b263caf2a1fe9ec42da01ee08c394414 /lib/api/projects.rb | |
parent | 8b65d069cce294ddc3450862e8066b1dbf6695da (diff) |
fix API route to delete project hook
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r-- | lib/api/projects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb index 53fd91dcca8..18e912ff48e 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -274,7 +274,7 @@ module Gitlab # hook_id (required) - The ID of hook to delete # Example Request: # DELETE /projects/:id/hooks/:hook_id - delete ":id/hooks" do + delete ":id/hooks/:hook_id" do authorize! :admin_project, user_project required_attributes! [:hook_id] |