Add ability to download invoice in admin #2566

This commit is contained in:
Martin Lensment 2015-07-14 13:28:48 +03:00
parent bfe9086ec0
commit bfd3e07981
3 changed files with 14 additions and 0 deletions

View file

@ -176,7 +176,9 @@ Rails.application.routes.draw do
end
resources :invoices do
get 'download_pdf'
patch 'cancel', on: :member
match 'forward', via: [:post, :get]
end
resources :domains do