Invoice cancelling

This commit is contained in:
Martin Lensment 2015-04-27 11:15:09 +03:00
parent 56d7f9f2e2
commit a26ce110b2
17 changed files with 113 additions and 25 deletions

View file

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