From 30ceea7fd56ee8b1e4b402a0bee9a90cf8198df5 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 3 Aug 2016 22:23:07 -0400 Subject: [PATCH] Update vehicles_controller.rb --- app/controllers/vehicles_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/vehicles_controller.rb b/app/controllers/vehicles_controller.rb index 22a1294..2f96c87 100644 --- a/app/controllers/vehicles_controller.rb +++ b/app/controllers/vehicles_controller.rb @@ -99,7 +99,8 @@ class VehiclesController < ApplicationController def update_vehicles @vehicles = Customer.find_by_id(params[:customer_id].to_i).vehicles respond_to do |format| - format.js + format.html { render(:text => "not implemented") } + format.js end end