Add registrar nameserver replacement UI

#661
This commit is contained in:
Artur Beljajev 2018-02-26 10:30:46 +02:00
parent 18010c6a2e
commit 2db401fd98
11 changed files with 197 additions and 11 deletions

View file

@ -62,6 +62,8 @@ Rails.application.routes.draw do
end
end
resources :domain_transfers, only: %i[new create]
get 'registrar/nameservers', to: 'registrar_nameservers#edit', as: :edit_registrar_nameserver
put 'registrar/nameservers', to: 'registrar_nameservers#update', as: :update_registrar_nameserver
resources :contacts, constraints: {:id => /[^\/]+(?=#{ ActionController::Renderers::RENDERERS.map{|e| "\\.#{e}\\z"}.join("|") })|[^\/]+/} do
member do