mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 10:45:58 +02:00
REPP: Move nameservers endpoint to Rails API format
This commit is contained in:
parent
a782b19d28
commit
c31dc15207
3 changed files with 47 additions and 45 deletions
|
@ -52,6 +52,13 @@ Rails.application.routes.draw do
|
|||
end
|
||||
resources :auctions, only: %i[index]
|
||||
resources :retained_domains, only: %i[index]
|
||||
namespace :registrar do
|
||||
resources :nameservers do
|
||||
collection do
|
||||
put '/', to: 'nameservers#update'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue