diff --git a/app/views/vm_common/_evm_relationship.html.haml b/app/views/vm_common/_evm_relationship.html.haml index 3213f93641b..86a732d4196 100644 --- a/app/views/vm_common/_evm_relationship.html.haml +++ b/app/views/vm_common/_evm_relationship.html.haml @@ -3,4 +3,4 @@ %h3 = _('Servers') .col-md-12 - = react('VmServerRelationshipForm', :recordId => @edit[:vm_id].to_s, :redirect => url_for(:action => :show, :id => @record.id)) + = react('VmServerRelationshipForm', :recordId => @record.id.to_s, :redirect => url_for(:action => :show, :id => @record.id))