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

5 lines
83 B
Ruby

json.array!(@components) do |component|
json.extract! component, :id, :name
end