use plural for routes

This commit is contained in:
2022-03-09 21:43:08 -05:00
parent ffcb2ee608
commit 726eb4632e

View File

@@ -19,9 +19,9 @@ get 'qbo/oauth_callback', :to => 'qbo#oauth_callback'
get 'qbo/sync', :to => 'qbo#sync' get 'qbo/sync', :to => 'qbo#sync'
# Estimate & Invoice PDF # Estimate & Invoice PDF
get 'estimate/:id', :to => 'estimate#show', as: :estimate get 'estimates/:id', :to => 'estimate#show', as: :estimate
get 'estimate/doc/:id', :to => 'estimate#doc', as: :estimate_doc get 'estimates/doc/:id', :to => 'estimate#doc', as: :estimate_doc
get 'invoice/:id', :to => 'invoice#show', as: :invoice get 'invoices/:id', :to => 'invoice#show', as: :invoice
#manual billing #manual billing
get 'bill/:id', :to => 'qbo#bill', as: :bill get 'bill/:id', :to => 'qbo#bill', as: :bill