Merge pull request #2897 from evazion/fix-rescue_from
Remove redundant rescue_from calls.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
class PostVersionsController < ApplicationController
|
||||
respond_to :html, :xml, :json
|
||||
rescue_from ActiveRecord::StatementInvalid, :with => :rescue_exception
|
||||
|
||||
def index
|
||||
@post_versions = PostArchive.search(params[:search]).order("updated_at desc, id desc").paginate(params[:page], :limit => params[:limit], :search_count => params[:search])
|
||||
|
||||
Reference in New Issue
Block a user