Port REPP Contacts from Grape to Rails internal API

This commit is contained in:
Karl Erik Õunapuu 2020-10-08 15:54:23 +03:00
parent dc8551807a
commit aa325604f9
No known key found for this signature in database
GPG key ID: C9DD647298A34764
4 changed files with 194 additions and 151 deletions

View file

@ -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