mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10: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
|