Domain contacts removing in domain update

This commit is contained in:
Martin Lensment 2015-03-06 18:09:07 +02:00
parent fa28f09ff0
commit 3eb1925a32
2 changed files with 25 additions and 6 deletions

View file

@ -50,11 +50,11 @@ class Epp::DomainsController < EppController
# @domain.parse_and_attach_ds_data(params[:parsed_frame].css('extension add'))
# @domain.parse_and_update_domain_dependencies(params[:parsed_frame].css('chg'))
# @domain.attach_legal_document(Epp::EppDomain.parse_legal_document_from_frame(params[:parsed_frame]))
# binding.pry
if @domain.update(params[:parsed_frame], current_user)
handle_errors(@domain)
else
render_epp_response '/epp/domains/success'
else
handle_errors(@domain)
end
end