Permalink
Browse files

Should use standard ruby signature for respond_to

  • Loading branch information...
1 parent b72cd29 commit ad8dc5ab894ee52c5803c616c77fc9211e82d5c5 @mikel mikel committed Jan 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionmailer/lib/action_mailer/base.rb
View
2 actionmailer/lib/action_mailer/base.rb
@@ -404,7 +404,7 @@ def deliver_mail(mail) #: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

0 comments on commit ad8dc5a

Please sign in to comment.