Method: Shoppe::CustomersController#update
- Defined in:
- app/controllers/shoppe/customers_controller.rb
#update ⇒ Object
29 30 31 32 33 34 35 |
# File 'app/controllers/shoppe/customers_controller.rb', line 29 def update if @customer.update(safe_params) redirect_to @customer, flash: { notice: t('shoppe.customers.updated_successfully') } else render action: 'edit' end end |