From ba5fab4c015366e355ab92371b27e77e896124a4 Mon Sep 17 00:00:00 2001 From: Jon Kessler Date: Fri, 16 Aug 2013 08:22:08 -0700 Subject: update Rails::Railtie::Configuration and ActionDispatch::Response#respond_to? to accept include_private argument --- actionpack/lib/action_dispatch/http/response.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb index d3696cbb8a..cf10190bd1 100644 --- a/actionpack/lib/action_dispatch/http/response.rb +++ b/actionpack/lib/action_dispatch/http/response.rb @@ -181,7 +181,7 @@ module ActionDispatch # :nodoc: end alias_method :status_message, :message - def respond_to?(method) + def respond_to?(method, include_private = false) if method.to_s == 'to_path' stream.respond_to?(:to_path) else -- cgit v1.2.3