Replace ActionMailer::Base#respond_to? with respond_to_missing?
This commit is contained in:
parent
215f86c348
commit
e899dfac47
@ -541,8 +541,8 @@ def deliver_mail(mail) #:nodoc:
|
||||
end
|
||||
end
|
||||
|
||||
def respond_to?(method, include_private = false) #:nodoc:
|
||||
super || action_methods.include?(method.to_s)
|
||||
def respond_to_missing?(method, include_private = false) #:nodoc:
|
||||
action_methods.include?(method.to_s)
|
||||
end
|
||||
|
||||
protected
|
||||
|
Loading…
Reference in New Issue
Block a user