add hooks controler and related services

This commit is contained in:
sylor_huang@126.com
2020-05-19 11:57:55 +08:00
parent 63cf2f0dc8
commit 0b89372eef
9 changed files with 167 additions and 14 deletions
+6
View File
@@ -0,0 +1,6 @@
json.count @hooks_size
json.hooks do
json.array! @hooks.each do |h|
json.merge! h
end
end