Add API/Registrant/Domains route

This commit is contained in:
Maciej Szlosarczyk 2018-07-26 14:46:03 +03:00
parent 311aa503b3
commit 0ab9f6333f
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
4 changed files with 53 additions and 1 deletions

View file

@ -18,6 +18,14 @@ Rails.application.routes.draw do
mount Repp::API => '/'
namespace :api do
namespace :v1 do
namespace :registrant do
resources :domains, only: [:index, :show], param: :uuid
end
end
end
# REGISTRAR ROUTES
namespace :registrar do
resource :dashboard