mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 16:02:03 +02:00
Add basic form for mass replacing nameservers
This commit is contained in:
parent
4c503b6c1a
commit
61577f1d75
3 changed files with 43 additions and 1 deletions
|
@ -29,6 +29,10 @@ class Registrar::NameserversController < RegistrarController
|
|||
@nameservers = @q.result.page(params[:page])
|
||||
end
|
||||
|
||||
def replace_all
|
||||
@domain_params = { nameservers_attributes: { 0 => {} } }
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def can_replace_hostnames?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue