105747240-document log added

This commit is contained in:
Stas 2015-11-06 14:03:04 +02:00
parent dc6b9ac924
commit a9204b8e22

View file

@ -51,6 +51,10 @@ class Epp::DomainsController < EppController
authorize! :update, @domain, @password
begin
if @domain.update(params[:parsed_frame], current_user)
@domain.attach_legal_document(Epp::Domain.parse_legal_document_from_frame(params[:parsed_frame]))
@domain.save(validate: false)
if @domain.epp_pending_update.present?
render_epp_response '/epp/domains/success_pending'
else