mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 05:34:46 +02:00
business registry contacts - endpoints for send status of contacts and receive confirmation
This commit is contained in:
parent
a393854e1a
commit
db012dd7da
7 changed files with 188 additions and 29 deletions
|
@ -128,7 +128,10 @@ Rails.application.routes.draw do
|
|||
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 :contacts, only: %i[index show update], param: :uuid do
|
||||
get 'do_need_update_contact', to: 'contacts#do_need_update_contact', as: :do_need_update_contact
|
||||
post 'update_company_contacts', to: 'contacts#update_company_contacts', as: :update_company_contacts
|
||||
end
|
||||
resources :companies, only: %i[index]
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue