Class: TheForemanProxmox::ComputeResourcesController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/the_foreman_proxmox/compute_resources_controller.rb

Instance Method Summary collapse

Instance Method Details

#isosObject

GET the_foreman_proxmox/isos/:storage



25
26
27
28
29
30
# File 'app/controllers/the_foreman_proxmox/compute_resources_controller.rb', line 25

def isos
  volumes = @compute_resource.isos(params[:storage])
  respond_to do |format|
    format.json { render :json => volumes }
  end
end