Nameserver removing with domain update request

This commit is contained in:
Martin Lensment 2014-08-21 16:47:21 +03:00
parent c0d25ccedf
commit 87cc7799be
9 changed files with 87 additions and 16 deletions

View file

@ -39,6 +39,7 @@ module Epp::DomainsHelper
handle_errors(@domain) and return unless @domain
handle_errors(@domain) and return unless @domain.attach_objects(@ph, parsed_frame.css('add'))
handle_errors(@domain) and return unless @domain.detach_objects(@ph, parsed_frame.css('rem'))
handle_errors(@domain) and return unless @domain.save
render '/epp/domains/success'