Class: TheForemanProxmox::ComputeResourcesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- TheForemanProxmox::ComputeResourcesController
- Defined in:
- app/controllers/the_foreman_proxmox/compute_resources_controller.rb
Instance Method Summary collapse
-
#isos ⇒ Object
GET the_foreman_proxmox/isos/:storage.
Instance Method Details
#isos ⇒ Object
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 |