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:
parent
a994f5df0b
commit
eb6b1ae733
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue