fixed typo

This commit is contained in:
2026-01-30 21:22:08 -05:00
parent 42e4494f6e
commit 6c9ae82f81

View File

@@ -110,7 +110,7 @@ class CustomersController < ApplicationController
begin begin
@customer = Customer.find_by_id(params[:id]) @customer = Customer.find_by_id(params[:id])
if @customer.update(allowed_params) if @customer.update(allowed_params)
flash[:notice] = tv :notice_customer_updated flash[:notice] = t :notice_customer_updated
redirect_to @customer redirect_to @customer
else else
redirect_to edit_customer_path redirect_to edit_customer_path