mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Invoice cancelling
This commit is contained in:
parent
56d7f9f2e2
commit
a26ce110b2
17 changed files with 113 additions and 25 deletions
|
@ -21,8 +21,11 @@ Rails.application.routes.draw do
|
|||
root 'polls#show'
|
||||
|
||||
resources :invoices do
|
||||
get 'download_pdf', on: :member
|
||||
match 'forward', on: :member, via: [:post, :get]
|
||||
member do
|
||||
get 'download_pdf'
|
||||
match 'forward', via: [:post, :get]
|
||||
patch 'cancel'
|
||||
end
|
||||
end
|
||||
|
||||
resources :deposits
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue