1
0
Fork 0
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:
Piotr Sarnacki 2010-08-04 20:25:21 +02:00
parent 56ef192374
commit d812677277

View file

@ -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