Update customers_controller.rb

This commit is contained in:
2016-05-12 09:57:25 -04:00
parent b1614941af
commit 7c37cda14e

View File

@@ -18,7 +18,9 @@ class CustomersController < ApplicationController
# display a list of all customers # display a list of all customers
def index def index
@customers = Customer.paginate(:page => params[:page]) Customer.without_callback(:initialize, :after, :pull) do
@customers = Customer.paginate(:page => params[:page])
end
end end
def new def new