Registrant confirms: Poll domain change application

This commit is contained in:
Karl Erik Õunapuu 2020-11-09 16:24:25 +02:00
parent a182dfb3ba
commit 09389ea662
No known key found for this signature in database
GPG key ID: C9DD647298A34764
2 changed files with 57 additions and 2 deletions

View file

@ -56,12 +56,12 @@ Rails.application.routes.draw do
namespace :v1 do
namespace :registrant do
post 'auth/eid', to: 'auth#eid'
get 'confirms/:name/:token', to: 'confirms#index', constraints: { name: /[^\/]+/ }
post 'confirms/:name/:token', to: 'confirms#update', constraints: { name: /[^\/]+/ }
resources :domains, only: %i[index show], param: :uuid do
resource :registry_lock, only: %i[create destroy]
end
resources :contacts, only: %i[index show update], param: :uuid
resources :companies, only: %i[index]
end
resources :auctions, only: %i[index show update], param: :uuid