class VirtualMachinesController < ApplicationController
- def index_pane_list
- %w(recent help)
- end
def index
@objects ||= model_class.all
@vm_logins = {}
end
super
end
+
+ def webshell
+ return render_not_found if not Rails.configuration.shell_in_a_box_url
+ @webshell_url = Rails.configuration.shell_in_a_box_url % {
+ uuid: @object.uuid,
+ hostname: @object.hostname,
+ }
+ render layout: false
+ end
+
end