fix post versions controller
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
class PostVersionsController < ApplicationController
|
||||
respond_to :html, :xml, :json
|
||||
|
||||
def index
|
||||
@search = PostVersion.search(params[:search])
|
||||
@post_versions = @search.order("id desc").paginate(params[:page])
|
||||
respond_with(@post_versions)
|
||||
end
|
||||
|
||||
def search
|
||||
|
||||
Reference in New Issue
Block a user