From 1e1056f6435254c81f02fd0fba53d9356050cb00 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Tue, 2 Dec 2008 20:26:32 -0600 Subject: Removed deprecated register_template_extension --- actionmailer/lib/action_mailer/base.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'actionmailer/lib/action_mailer/base.rb') 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 -- cgit v1.2.3