fix for "Error during failsafe response: private method `status_code' ca... #252

Closed
wants to merge 1 commit into
from
@@ -40,7 +40,6 @@ def self.add_locale_path(config)
module ShowExceptionsPatch
extend ActiveSupport::Concern
included { alias_method_chain :status_code, :paginate }
- private
def status_code_with_paginate(exception = @exception)
if exception.is_a?(WillPaginate::InvalidPage) or
(exception.respond_to?(:original_exception) &&