From eb6b1ae73357d7629b804e086a58e2ad4528b35e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 19 Nov 2014 00:11:51 +0000 Subject: [PATCH] Don't paginate redactions The index view doesn't render any pagination controls, and there aren't enough redactions for pagination to be necessary yet. Fixes #735 --- app/controllers/redactions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/redactions_controller.rb b/app/controllers/redactions_controller.rb index f8713608d..d0f902717 100644 --- a/app/controllers/redactions_controller.rb +++ b/app/controllers/redactions_controller.rb @@ -10,7 +10,7 @@ class RedactionsController < ApplicationController before_filter :check_database_writable, :only => [:create, :update, :destroy] def index - @redactions_pages, @redactions = paginate(:redactions, :order => :id, :per_page => 10) + @redactions = Redaction.order(:id) end def new -- 2.43.2