Update customers_controller.rb

This commit is contained in:
2016-04-27 07:39:32 -04:00
parent 723d9024c1
commit 8f5467638e

View File

@@ -23,7 +23,7 @@ class CustomersController < ApplicationController
@customer_count = c.count
@customer_pages = Paginator.new self, @customer_count, 10, params['page']
@customers = c.all(:limit => @customer_pages.items_per_page, :offset => @customer_pages.current.offset)
@customers = QboCustomer.all(:limit => @customer_pages.items_per_page, :offset => @customer_pages.current.offset)
end
# display a specific customer