Estimate PDF is now dowloaded and served

TODO: The routes are somehow messed up and need to be fixed.

example: example.com/redmine/redmine/qbo/estimate/1
in lieu: example.com/redmine/qbo/estimate/1
This commit is contained in:
2016-01-17 10:40:37 -05:00
parent 2365fc2cf8
commit 98cd3d51e9
4 changed files with 12 additions and 9 deletions

View File

@@ -15,4 +15,4 @@ get 'qbo', :to=> 'qbo#index'
get 'qbo/authenticate', :to => 'qbo#authenticate'
get 'qbo/oauth_callback', :to => 'qbo#oauth_callback'
get 'qbo/sync', :to => 'qbo#sync'
get 'qbo/estimate/:id', :to => 'qbo#estimate_pdf', :as => :qbo_estimate_pdf