mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Updated domain pending delete
This commit is contained in:
parent
6f59824cd1
commit
897a10f47b
3 changed files with 21 additions and 2 deletions
|
@ -84,8 +84,7 @@ class Registrar::DomainsController < Registrar::DeppController # EPP controller
|
|||
@data = @domain.delete(params[:domain])
|
||||
@results = @data.css('result')
|
||||
if response_ok?
|
||||
params[:domain_name] = nil
|
||||
render 'info_index'
|
||||
redirect_to info_registrar_domains_url(domain_name: params[:domain][:name])
|
||||
else
|
||||
params[:domain_name] = params[:domain][:name]
|
||||
render 'delete'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue