mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 12:47:29 +02:00
REPP domains: Nameserver actions
This commit is contained in:
parent
fcb97df45d
commit
2b3634b048
10 changed files with 140 additions and 6 deletions
|
@ -60,6 +60,7 @@ Rails.application.routes.draw do
|
|||
end
|
||||
end
|
||||
resources :domains, constraints: { id: /.*/ } do
|
||||
resources :nameservers, only: %i[create destroy], constraints: { id: /.*/ }, controller: 'domains/nameservers'
|
||||
collection do
|
||||
get ':id/transfer_info', to: 'domains#transfer_info', constraints: { id: /.*/ }
|
||||
post 'transfer', to: 'domains#transfer'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue