Update routes.rb

This commit is contained in:
2016-08-03 22:19:23 -04:00
committed by GitHub
parent f1745930b1
commit 49a3bd5790

View File

@@ -21,7 +21,7 @@ get 'qbo/invoice/:id', :to => 'invoice#show', as: :invoice
post 'qbo/webhook', :to => 'qbo#qbo_webhook'
#ajax
get "update_vehicles" => 'vehicles#update_vehicles', as: 'update_vehicles'
get "update_vehicles" => 'vehicles#update_vehicles', defaults: { format: 'js' }, as: 'update_vehicles'
resources :vehicles
resources :customers