mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Replace ActionMailer::Base#respond_to? with respond_to_missing?
This commit is contained in:
parent
215f86c348
commit
e899dfac47
1 changed files with 2 additions and 2 deletions
|
@ -541,8 +541,8 @@ module ActionMailer
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def respond_to?(method, include_private = false) #:nodoc:
|
def respond_to_missing?(method, include_private = false) #:nodoc:
|
||||||
super || action_methods.include?(method.to_s)
|
action_methods.include?(method.to_s)
|
||||||
end
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
Loading…
Reference in a new issue