From f1745930b1e636c5eeffe03a55fc0cd2b694096c Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 3 Aug 2016 22:15:43 -0400 Subject: [PATCH] Update routes.rb --- config/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 79d1e92..1f3925c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -20,7 +20,8 @@ get 'qbo/invoice/:id', :to => 'invoice#show', as: :invoice post 'qbo/webhook', :to => 'qbo#qbo_webhook' -get 'vehicles/update_vehicles', as: 'update_vehicles' +#ajax +get "update_vehicles" => 'vehicles#update_vehicles', as: 'update_vehicles' resources :vehicles resources :customers