111864739-legal_doc_for_pt

This commit is contained in:
Stas 2016-01-19 16:51:19 +02:00
parent e7aef75b25
commit 07d6805aa6
3 changed files with 45 additions and 0 deletions

View file

@ -476,6 +476,7 @@ class Epp::Domain < Domain
if doc = attach_legal_document(Epp::Domain.parse_legal_document_from_frame(frame))
frame.css("legalDocument").first.content = doc.path if doc && doc.persisted?
self.legal_document_id = doc.id
end
at_add = attrs_from(frame.css('add'), current_user, 'add')