projects API should return info about deleted hook

This commit is contained in:
Nihad Abbasov 2012-10-08 01:54:36 -07:00
parent d47e40929d
commit ad5b5d1e51

View file

@ -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