added api for accr center

This commit is contained in:
Oleg Hasjanov 2021-08-26 18:22:19 +03:00 committed by olegphenomenon
parent bccd3d51c1
commit a87fd6a8b7
8 changed files with 191 additions and 0 deletions

View file

@ -126,6 +126,13 @@ Rails.application.routes.draw do
resources :companies, only: %i[index]
end
namespace :accreditation_center do
resource :domains, only: [ :show ], param: :name
resource :contacts, only: [ :show ], param: :id
# resource :auth, only: [ :index ]
get 'auth', to: 'auth#index'
end
resources :auctions, only: %i[index show update], param: :uuid
resources :contact_requests, only: %i[create update], param: :id
resources :bounces, only: %i[create]