1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-05 16:24:21 +01:00
fab-manager/app/views/api/coupons/index.json.jbuilder
2016-08-08 15:21:33 +02:00

4 lines
91 B
Ruby

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