mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
added endpoint for get cancelled invoices
This commit is contained in:
parent
5a19149129
commit
62ce5ff561
4 changed files with 70 additions and 4 deletions
|
@ -127,6 +127,9 @@ Rails.application.routes.draw do
|
|||
end
|
||||
|
||||
namespace :accreditation_center do
|
||||
# At the moment invoice_status endpoint returns only cancelled invoices. But in future logic of this enpoint can change.
|
||||
# And it will need to return invoices of different statuses. I decided to leave the name of the endpoint "invoice_status"
|
||||
resources :invoice_status, only: [ :index ]
|
||||
resource :domains, only: [ :show ], param: :name
|
||||
resource :contacts, only: [ :show ], param: :id
|
||||
# resource :auth, only: [ :index ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue