lib/mail_engine/engine.rb in mail_engine-0.1.10 vs lib/mail_engine/engine.rb in mail_engine-0.1.11
- old
+ new
@@ -20,11 +20,9 @@
end
initializer "mail_engine.register_database_template" do
ActionMailer::Base.layout "layouts/mail_engine/mail_template_layouts/none"
ActionMailer::Base.prepend_view_path(MailEngine::MailTemplateResolver.instance)
- # used when mail_template preview.
- MailEngine::ApplicationController.prepend_view_path(MailEngine::MailTemplateResolver.instance)
end
initializer "mail_engine.add_acts_as_mail_receiver" do
ActiveRecord::Base.send(:include, MailEngine::ActsAsMailReceiver)
end
\ No newline at end of file