fix tests
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
class PostVersionsController < ApplicationController
|
||||
respond_to :html, :xml, :json
|
||||
rescue_from ActiveRecord::StatementInvalid, :with => :rescue_exception
|
||||
|
||||
def index
|
||||
@post_versions = PostVersion.search(params[:search]).order("updated_at desc").paginate(params[:page], :search_count => params[:search])
|
||||
|
||||
Reference in New Issue
Block a user