mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
added flash notification
This commit is contained in:
parent
89c2ef1cf1
commit
962c343ab7
2 changed files with 4 additions and 0 deletions
|
@ -132,6 +132,7 @@ class Registrar
|
|||
@data = @domain.delete(params[:domain])
|
||||
@results = @data.css('result')
|
||||
if response_ok?
|
||||
flash[:notice] = t('.deleting_request')
|
||||
redirect_to info_registrar_domains_url(domain_name: params[:domain][:name])
|
||||
else
|
||||
params[:domain_name] = params[:domain][:name]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue