mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update customers_controller.rb
This commit is contained in:
1 parent
b217126316
commit
29ea58db36
1 file changed
+1
@@ -47,6 +47,7 @@ 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