1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/views/api/coupons/index.json.jbuilder

7 lines
142 B
Plaintext
Raw Normal View History

2019-04-04 17:28:29 +02:00
# frozen_string_literal: true
json.array!(@coupons) do |coupon|
json.partial! 'api/coupons/coupon', coupon: coupon
2019-04-04 17:28:29 +02:00
json.total @total
end