Update routes.rb

This commit is contained in:
2016-08-05 21:00:03 -04:00
committed by GitHub
parent 82449642d3
commit 8daa10888f

View File

@@ -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'