mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update customers_controller.rb
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user