mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Make ActionMailer::Base.respond_to_missing? private
This commit is contained in:
parent
e899dfac47
commit
50593cc205
1 changed files with 6 additions and 4 deletions
|
@ -541,10 +541,6 @@ module ActionMailer
|
|||
end
|
||||
end
|
||||
|
||||
def respond_to_missing?(method, include_private = false) #:nodoc:
|
||||
action_methods.include?(method.to_s)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def set_payload_for_mail(payload, mail) #:nodoc:
|
||||
|
@ -566,6 +562,12 @@ module ActionMailer
|
|||
super
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def respond_to_missing?(method, include_all = false) #:nodoc:
|
||||
action_methods.include?(method.to_s)
|
||||
end
|
||||
end
|
||||
|
||||
attr_internal :message
|
||||
|
|
Loading…
Reference in a new issue