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
This commit is contained in:
Tom Hughes 2014-11-19 00:11:51 +00:00
parent a994f5df0b
commit eb6b1ae733

View file

@ -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