From e0e21037224abffa3f9fff9c092c5fa40e6628ba Mon Sep 17 00:00:00 2001 From: Nathan Feaver Date: Thu, 4 Dec 2014 10:20:28 -0700 Subject: [PATCH] append view path on Effective::LiquidMailer --- lib/effective_email_templates.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/effective_email_templates.rb b/lib/effective_email_templates.rb index d0c0f2c..eb3354d 100644 --- a/lib/effective_email_templates.rb +++ b/lib/effective_email_templates.rb @@ -4,8 +4,7 @@ require "effective_email_templates/version" require "effective/liquid_mailer" - -ActionMailer::Base.send(:append_view_path, EffectiveEmailTemplates::LiquidResolver.new) +Effective::LiquidMailer.send(:append_view_path, EffectiveEmailTemplates::LiquidResolver.new) module EffectiveEmailTemplates