mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
Merge remote-tracking branch 'origin/107058100-legaldoc' into 106735814-legal-documents-not-in-log-tables
This commit is contained in:
commit
a6027ac7d6
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue