mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +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.extract! machine, :id, :name, :description, :spec, :slug
|
||||
json.url machine_url(machine, format: :json)
|
||||
json.machine_image machine.machine_image.attachment.medium.url if machine.machine_image
|
||||
end
|
||||
json.array!(@machines) do |machine|
|
||||
json.extract! machine, :id, :name, :description, :spec, :slug
|
||||
json.url machine_url(machine, format: :json)
|
||||
json.machine_image machine.machine_image.attachment.medium.url if machine.machine_image
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user