forgeplus/app/views/hooks/index.json.jbuilder

6 lines
100 B
Ruby

json.count @hooks_size
json.hooks do
json.array! @hooks.each do |h|
json.merge! h
end
end