mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 07:04:47 +02:00
REPP: Port accounts controller from Grape to Rails API
This commit is contained in:
parent
aa325604f9
commit
1686c352bc
3 changed files with 16 additions and 16 deletions
|
@ -40,6 +40,11 @@ Rails.application.routes.draw do
|
|||
namespace :repp do
|
||||
namespace :v1 do
|
||||
resources :contacts
|
||||
resources :accounts do
|
||||
collection do
|
||||
get 'balance'
|
||||
end
|
||||
end
|
||||
resources :auctions, only: %i[index]
|
||||
resources :retained_domains, only: %i[index]
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue