fix
This commit is contained in:
@@ -3,7 +3,7 @@ class PostVersionsController < ApplicationController
|
|||||||
|
|
||||||
def index
|
def index
|
||||||
@search = PostVersion.search(params[:search])
|
@search = PostVersion.search(params[:search])
|
||||||
@post_versions = @search.order("id desc").paginate(params[:page])
|
@post_versions = @search.order("id desc").paginate_sequential(params[:page])
|
||||||
respond_with(@post_versions)
|
respond_with(@post_versions)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user