Update routes.rb

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

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', defaults: { format: 'js' }, as: 'update_vehicles'
get "update_vehicles" => 'vehicles#update_vehicles', as: 'update_vehicles'
resources :vehicles
resources :customers