summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a994f5d)
The index view doesn't render any pagination controls, and there
aren't enough redactions for pagination to be necessary yet.
Fixes #735
before_filter :check_database_writable, :only => [:create, :update, :destroy]
def index
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)