Permalink
Browse files

fix for "Error during failsafe response: private method `status_code'…

… called for #<ActionDispatch::ExceptionWrapper:0x...>"
  • Loading branch information...
1 parent 71f793e commit 369a52c1401732b940b2813cd879cfb0015b4b83 @bryanlarsen committed Jul 12, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/will_paginate/railtie.rb
@@ -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) &&

0 comments on commit 369a52c

Please sign in to comment.