aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2010-08-04 20:25:21 +0200
committerPiotr Sarnacki <drogus@gmail.com>2010-09-03 22:59:12 +0200
commitd81267727770198f4aa0cefede042c8d0c638c59 (patch)
treee27c3dd55f2e9ba3c97860c36ded83572261dcf7
parent56ef192374f7dc5b21120bbe94cacf852b33be54 (diff)
downloadrails-d81267727770198f4aa0cefede042c8d0c638c59.tar.gz
rails-d81267727770198f4aa0cefede042c8d0c638c59.tar.bz2
rails-d81267727770198f4aa0cefede042c8d0c638c59.zip
We don't need to clear action_methods on inherited hook as they are cleaned on method_added hook
-rw-r--r--actionmailer/lib/action_mailer/base.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index b70121d544..6ae3940e6d 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -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