Removed after init call back from customer

This commit is contained in:
2016-05-29 11:14:26 -04:00
parent d829c2f83a
commit bfb6d3bc4e
3 changed files with 10 additions and 22 deletions

View File

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