mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-11 22:24:21 +01:00
7 lines
142 B
Ruby
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
|