diff options
author | Mikel Lindsaar <mikel@rubyx.com> | 2011-01-18 11:34:43 +1100 |
---|---|---|
committer | Mikel Lindsaar <mikel@rubyx.com> | 2011-01-18 12:06:20 +1100 |
commit | ad8dc5ab894ee52c5803c616c77fc9211e82d5c5 (patch) | |
tree | edeb9d12206ced10e2abb781c5595d3ff1a9748f /actionmailer/lib/action_mailer | |
parent | b72cd29e53fac2c0aba94a14eb6863d004cdeae3 (diff) | |
download | rails-ad8dc5ab894ee52c5803c616c77fc9211e82d5c5.tar.gz rails-ad8dc5ab894ee52c5803c616c77fc9211e82d5c5.tar.bz2 rails-ad8dc5ab894ee52c5803c616c77fc9211e82d5c5.zip |
Should use standard ruby signature for respond_to
Diffstat (limited to 'actionmailer/lib/action_mailer')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 8ed2e5ec5c..6ae1eac42a 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -404,7 +404,7 @@ module ActionMailer #:nodoc: end end - def respond_to?(method, *args) #:nodoc: + def respond_to?(method, include_private = false) #:nodoc: super || action_methods.include?(method.to_s) end |