REPP: Move nameservers endpoint to Rails API format

This commit is contained in:
Karl Erik Õunapuu 2020-10-13 16:37:47 +03:00
parent a782b19d28
commit c31dc15207
No known key found for this signature in database
GPG key ID: C9DD647298A34764
3 changed files with 47 additions and 45 deletions

View file

@ -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