1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-05 20:46:14 +01:00
fab-manager/app/views/api/groups/index.json.jbuilder
2016-09-26 11:20:28 +02:00

4 lines
103 B
Ruby

json.cache! ['v1', @groups] do
json.partial! 'api/groups/group', collection: @groups, as: :group
end