Merge branch '111864739-history_legal_doc' into staging

This commit is contained in:
Stas 2016-01-26 18:35:09 +02:00
commit 958cf84220
3 changed files with 49 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')