# File lib/action_mailer/base.rb, line 429 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