mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Update customers_controller.rb
This commit is contained in:
1 parent
b98cdbec8b
commit
fe1388108c
1 file changed
+1
-1
@@ -33,7 +33,7 @@ class CustomersController < ApplicationController
|
||||
def show
|
||||
@customer = QboCustomer.find_by_id(params[:id])
|
||||
if @customer
|
||||
@vehicles = @customer.vehicles
|
||||
@vehicles = @customer.vehicles.paginate(:page => params[:page])
|
||||
else
|
||||
flash[:error] = "Customer Not Found"
|
||||
render :index
|
||||
|
||||
Reference in new issue
Block a user