From 726eb4632ee05765650fcf17b05d96a6a232dc37 Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Wed, 9 Mar 2022 21:43:08 -0500 Subject: [PATCH] use plural for routes --- config/routes.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 955e811..87c3503 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -19,9 +19,9 @@ get 'qbo/oauth_callback', :to => 'qbo#oauth_callback' get 'qbo/sync', :to => 'qbo#sync' # Estimate & Invoice PDF -get 'estimate/:id', :to => 'estimate#show', as: :estimate -get 'estimate/doc/:id', :to => 'estimate#doc', as: :estimate_doc -get 'invoice/:id', :to => 'invoice#show', as: :invoice +get 'estimates/:id', :to => 'estimate#show', as: :estimate +get 'estimates/doc/:id', :to => 'estimate#doc', as: :estimate_doc +get 'invoices/:id', :to => 'invoice#show', as: :invoice #manual billing get 'bill/:id', :to => 'qbo#bill', as: :bill