From 6e92648d8bd02091a0a28e507e873b1b3f46994a Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 1 Aug 2016 15:36:10 -0400 Subject: [PATCH] Update customers_controller.rb --- app/controllers/customers_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/customers_controller.rb b/app/controllers/customers_controller.rb index a6c3fd3..a6a7e2a 100644 --- a/app/controllers/customers_controller.rb +++ b/app/controllers/customers_controller.rb @@ -25,8 +25,8 @@ class CustomersController < ApplicationController if only_one_non_zero?(@customers) redirect_to @customers.first end - else - @customers = Customer.paginate(:page => params[:page]) + #else + # @customers = Customer.paginate(:page => params[:page]) end end