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:
@@ -47,7 +47,6 @@ class CustomersController < ApplicationController
|
||||
|
||||
# update a specific customer
|
||||
def update
|
||||
@customers = Customer.all.order(:name)
|
||||
@customer = Customer.find_by_id(params[:id])
|
||||
if @customer.update_attributes(params[:customer])
|
||||
flash[:success] = "Customer updated"
|
||||
|
||||
Reference in New Issue
Block a user