Add registrant api companies endpoint

This commit is contained in:
Alex Sherman 2020-10-12 16:25:10 +05:00
parent 497ba6514d
commit c79042f789
8 changed files with 105 additions and 5 deletions

View file

@ -61,9 +61,11 @@ Rails.application.routes.draw 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
end
match '*all', controller: 'cors', action: 'cors_preflight_check', via: [:options],
@ -179,6 +181,7 @@ Rails.application.routes.draw do
end
resources :registrars, only: :show
# resources :companies, only: :index
resources :domains, only: %i[index show] do
resources :contacts, only: %i[show edit update]
member do