1
0
Fork 0
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:
Ryan Buckley 2015-12-02 22:35:03 -10:00
parent 215f86c348
commit e899dfac47

View file

@ -541,8 +541,8 @@ module ActionMailer
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