1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-30 19:52:20 +01:00
fab-manager/app/views/api/coupons/index.json.jbuilder

6 lines
127 B
Plaintext
Raw Normal View History

json.cache! [@coupons] do
json.array!(@coupons) do |coupon|
json.partial! 'api/coupons/coupon', coupon: coupon
end
end