From b15e771d67a88dd001dfac07e764c1878ad86046 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Tue, 25 Feb 2014 12:19:22 -0500 Subject: [PATCH] Oops, I meant 1 --- app/controllers/list_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/list_controller.rb b/app/controllers/list_controller.rb index 40ae4976dff..ce81915090e 100644 --- a/app/controllers/list_controller.rb +++ b/app/controllers/list_controller.rb @@ -208,7 +208,7 @@ class ListController < ApplicationController end def prev_page_params(opts = nil) - page_params(opts).merge(page: params[:page].to_i > 1 ? (params[:page].to_i - 1) : 0) + page_params(opts).merge(page: params[:page].to_i > 1 ? (params[:page].to_i - 1) : 1) end