From 8deca8e75cba29cdff83d5003ebe1c557e46ccc8 Mon Sep 17 00:00:00 2001 From: Brian McLaughlin Date: Wed, 30 Aug 2017 13:54:52 -0400 Subject: [PATCH] Refactoring https://bugzilla.redhat.com/show_bug.cgi?id=1450109 https://bugzilla.redhat.com/show_bug.cgi?id=1451655 --- app/controllers/vm_remote.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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