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