diff --git a/app/controllers/vm_remote.rb b/app/controllers/vm_remote.rb index 65cb8467c06..6b1932656e5 100644 --- a/app/controllers/vm_remote.rb +++ b/app/controllers/vm_remote.rb @@ -12,7 +12,7 @@ def launch_cockpit vm = identify_record(params[:id], VmOrTemplate) if vm.supports_launch_cockpit? - javascript_open_window(vm.cockpit_url) + javascript_open_window(vm.cockpit_url.to_s) else javascript_flash(:text => vm.unsupported_reason(:launch_cockpit), :severity => :error, :spinner_off => true) end