Permalink
Browse files

We don't need to clear action_methods on inherited hook as they are c…

…leaned on method_added hook
  • Loading branch information...
1 parent 56ef192 commit d81267727770198f4aa0cefede042c8d0c638c59 @drogus drogus committed Aug 4, 2010
Showing with 0 additions and 5 deletions.
  1. +0 −5 actionmailer/lib/action_mailer/base.rb
View
5 actionmailer/lib/action_mailer/base.rb
@@ -361,11 +361,6 @@ class Base < AbstractController::Base
}.freeze
class << self
- def inherited(klass)
- super(klass)
- klass.clear_action_methods!
- end
-
def mailer_name
@mailer_name ||= name.underscore
end

0 comments on commit d812677

Please sign in to comment.