Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
bmclaughlin committed Aug 30, 2017
1 parent b94715b commit 8deca8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/vm_remote.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8deca8e

Please sign in to comment.