1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
fab-manager/app/views/api/machine_categories/index.json.jbuilder
2022-12-20 18:45:53 +01:00

4 lines
102 B
Ruby

json.array!(@machine_categories) do |category|
json.extract! category, :id, :name, :machine_ids
end