Should use standard ruby signature for respond_to
This commit is contained in:
parent
b72cd29e53
commit
ad8dc5ab89
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue