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/price_categories/index.json.jbuilder

5 lines
149 B
Plaintext
Raw Normal View History

2016-08-24 12:30:48 +02:00
json.array!(@price_categories) do |category|
json.extract! category, :id, :name, :conditions
2016-08-24 12:30:48 +02:00
json.events category.event_price_category.count
end