Update customers_controller.rb

This commit is contained in:
2016-05-11 11:06:00 -04:00
parent 7a1d769581
commit 8120296154

View File

@@ -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