This commit is contained in:
albert
2013-02-19 14:36:31 -05:00
parent 306ec47f03
commit 359a17674c
3 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ class PostVersionsController < ApplicationController
def index
@search = PostVersion.search(params[:search])
@post_versions = @search.order("id desc").paginate_sequential(params[:page])
@post_versions = @search.order("updated_at desc").paginate(params[:page], :count => 1_000_000)
respond_with(@post_versions)
end