1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/views/api/coupons/index.json.jbuilder
2019-04-04 17:28:29 +02:00

7 lines
142 B
Ruby

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