mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-10 21:24:20 +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
|