diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-12-02 20:26:32 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-12-02 20:26:32 -0600 |
commit | 1e1056f6435254c81f02fd0fba53d9356050cb00 (patch) | |
tree | 475ce8382c73455345941003e8332d07304b3c2e /actionmailer/lib/action_mailer | |
parent | be75cb8877e84e8d312402435eeb02d7ea6af600 (diff) | |
download | rails-1e1056f6435254c81f02fd0fba53d9356050cb00.tar.gz rails-1e1056f6435254c81f02fd0fba53d9356050cb00.tar.bz2 rails-1e1056f6435254c81f02fd0fba53d9356050cb00.zip |
Removed deprecated register_template_extension
Diffstat (limited to 'actionmailer/lib/action_mailer')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index acb9aff6aa..730dd2d7aa 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -420,12 +420,6 @@ module ActionMailer #:nodoc: new.deliver!(mail) end - def register_template_extension(extension) - ActiveSupport::Deprecation.warn( - "ActionMailer::Base.register_template_extension has been deprecated." + - "Use ActionView::Base.register_template_extension instead", caller) - end - def template_root self.view_paths && self.view_paths.first end |