Update customers_controller.rb

This commit is contained in:
2016-05-11 11:07:34 -04:00
parent 8120296154
commit 65577b57dd

View File

@@ -49,11 +49,11 @@ class CustomersController < ApplicationController
# return an HTML form for editing a customer # return an HTML form for editing a customer
def edit def edit
#begin begin
@customer = Customer.find_by_id(params[:id]) @customer = Customer.find_by_id(params[:id])
#rescue ActiveRecord::RecordNotFound rescue ActiveRecord::RecordNotFound
# render_404 render_404
#end end
end end
# update a specific customer # update a specific customer