mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 07:36:41 +10:00
projects API should return info about deleted hook
This commit is contained in:
@@ -176,7 +176,6 @@ module Gitlab
|
||||
authorize! :admin_project, user_project
|
||||
@hook = user_project.hooks.find(params[:hook_id])
|
||||
@hook.destroy
|
||||
nil
|
||||
end
|
||||
|
||||
# Get a project repository branches
|
||||
|
||||
Reference in New Issue
Block a user