mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
5 lines
133 B
Ruby
5 lines
133 B
Ruby
json.array!(@components) do |component|
|
|
json.extract! component, :id, :name
|
|
json.url component_url(component, format: :json)
|
|
end
|