mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
cancel cache machine index json
This commit is contained in:
parent
99aa8120fc
commit
e57d5c96e6
@ -1,7 +1,5 @@
|
|||||||
json.cache! @machines do
|
json.array!(@machines) do |machine|
|
||||||
json.array!(@machines) do |machine|
|
json.extract! machine, :id, :name, :description, :spec, :slug
|
||||||
json.extract! machine, :id, :name, :description, :spec, :slug
|
json.url machine_url(machine, format: :json)
|
||||||
json.url machine_url(machine, format: :json)
|
json.machine_image machine.machine_image.attachment.medium.url if machine.machine_image
|
||||||
json.machine_image machine.machine_image.attachment.medium.url if machine.machine_image
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user