mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
We don't need to clear action_methods on inherited hook as they are cleaned on method_added hook
This commit is contained in:
parent
56ef192374
commit
d812677277
1 changed files with 0 additions and 5 deletions
|
@ -361,11 +361,6 @@ module ActionMailer #:nodoc:
|
|||
}.freeze
|
||||
|
||||
class << self
|
||||
def inherited(klass)
|
||||
super(klass)
|
||||
klass.clear_action_methods!
|
||||
end
|
||||
|
||||
def mailer_name
|
||||
@mailer_name ||= name.underscore
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue