Should use standard ruby signature for respond_to

This commit is contained in:
Mikel Lindsaar 2011-01-18 11:34:43 +11:00
parent b72cd29e53
commit ad8dc5ab89
1 changed files with 1 additions and 1 deletions

View File

@ -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