mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
1150040781-contact_delete_legal_doc
This commit is contained in:
parent
9e32f71d2f
commit
431eaf5439
2 changed files with 6 additions and 2 deletions
|
@ -39,7 +39,7 @@ class Epp::ContactsController < EppController
|
|||
def delete
|
||||
authorize! :delete, @contact, @password
|
||||
|
||||
if @contact.destroy_and_clean
|
||||
if @contact.destroy_and_clean(params[:parsed_frame])
|
||||
render_epp_response '/epp/contacts/delete'
|
||||
else
|
||||
handle_errors(@contact)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue