From 8daa10888fd0268f370f7337afc3742269dd007f Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Fri, 5 Aug 2016 21:00:03 -0400 Subject: [PATCH] Update routes.rb --- config/routes.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index da4a1cd..1693c77 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -23,8 +23,9 @@ get 'qbo/estimate/:id', :to => 'estimate#show', as: :estimate get 'qbo/invoice/:id', :to => 'invoice#show', as: :invoice #payments -get 'qbo/payments', :to => 'payments#new' -post 'qbo/payments', :to => 'payments#create' +#get 'qbo/payments', :to => 'payments#new' +#post 'qbo/payments', :to => 'payments#create' +resources :payments #webhook post 'qbo/webhook', :to => 'qbo#qbo_webhook'