mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update customers_controller.rb
This commit is contained in:
@@ -41,7 +41,7 @@ class CustomersController < ApplicationController
|
|||||||
def update
|
def update
|
||||||
@customer = QboCustomer.find_by_id(params[:id])
|
@customer = QboCustomer.find_by_id(params[:id])
|
||||||
if @customer.update_attributes(params[:customer])
|
if @customer.update_attributes(params[:customer])
|
||||||
flash[:success] = "Vehicle updated"
|
flash[:success] = "Customer updated"
|
||||||
redirect_to @customer
|
redirect_to @customer
|
||||||
else
|
else
|
||||||
render :edit
|
render :edit
|
||||||
|
|||||||
Reference in New Issue
Block a user