1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-04 15:24:23 +01:00
fab-manager/app/views/api/groups/index.json.jbuilder
2016-09-20 11:39:49 +02:00

4 lines
103 B
Ruby

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