From 8120296154bb59be200f35dcd735983cca3c6e5d Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 11 May 2016 11:06:00 -0400 Subject: [PATCH] Update customers_controller.rb --- app/controllers/customers_controller.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/controllers/customers_controller.rb b/app/controllers/customers_controller.rb index 7e60af3..cf97868 100644 --- a/app/controllers/customers_controller.rb +++ b/app/controllers/customers_controller.rb @@ -49,11 +49,11 @@ class CustomersController < ApplicationController # return an HTML form for editing a customer def edit - begin + #begin @customer = Customer.find_by_id(params[:id]) - rescue ActiveRecord::RecordNotFound - render_404 - end + #rescue ActiveRecord::RecordNotFound + # render_404 + #end end # update a specific customer