mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 02:35:57 +02:00
Port REPP Contacts from Grape to Rails internal API
This commit is contained in:
parent
dc8551807a
commit
aa325604f9
4 changed files with 194 additions and 151 deletions
|
@ -37,10 +37,9 @@ Rails.application.routes.draw do
|
|||
get 'error/:command', to: 'errors#error'
|
||||
end
|
||||
|
||||
mount Repp::API => '/'
|
||||
|
||||
namespace :repp do
|
||||
namespace :v1 do
|
||||
resources :contacts
|
||||
resources :auctions, only: %i[index]
|
||||
resources :retained_domains, only: %i[index]
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue