Update customers_controller.rb

This commit is contained in:
2016-08-01 15:36:10 -04:00
committed by GitHub
parent 8ddc612bba
commit 6e92648d8b

View File

@@ -25,8 +25,8 @@ class CustomersController < ApplicationController
if only_one_non_zero?(@customers) if only_one_non_zero?(@customers)
redirect_to @customers.first redirect_to @customers.first
end end
else #else
@customers = Customer.paginate(:page => params[:page]) # @customers = Customer.paginate(:page => params[:page])
end end
end end