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

5 lines
136 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
json.events category.event_price_category.count
end