summaryrefslogtreecommitdiff
path: root/lib/api/system_hooks.rb
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <zegerjan@gitlab.com>2016-10-19 14:08:30 +0000
committerZ.J. van de Weg <git@zjvandeweg.nl>2016-11-02 13:14:12 +0100
commit57fd233a557158dbaa1a227f7c549fbe6a45e799 (patch)
tree6b6b6fb091ba260807246c85f51b9e91213b4fce /lib/api/system_hooks.rb
parenta4827ee2b9a5dd51356a4e11455c0075fe6cea69 (diff)
downloadgitlab-ce-57fd233a557158dbaa1a227f7c549fbe6a45e799.tar.gz
Update docs and unexpose token
Diffstat (limited to 'lib/api/system_hooks.rb')
-rw-r--r--lib/api/system_hooks.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/system_hooks.rb b/lib/api/system_hooks.rb
index ca95c044ecc..32f731c5652 100644
--- a/lib/api/system_hooks.rb
+++ b/lib/api/system_hooks.rb
@@ -12,6 +12,7 @@ module API
end
get do
hooks = SystemHook.all
+
present hooks, with: Entities::Hook
end