diff --git a/app/controllers/customers_controller.rb b/app/controllers/customers_controller.rb index 1422efc..c2d9731 100644 --- a/app/controllers/customers_controller.rb +++ b/app/controllers/customers_controller.rb @@ -110,7 +110,7 @@ class CustomersController < ApplicationController begin @customer = Customer.find_by_id(params[:id]) if @customer.update(allowed_params) - flash[:notice] = tv :notice_customer_updated + flash[:notice] = t :notice_customer_updated redirect_to @customer else redirect_to edit_customer_path