Sha256: 848b62d8f78b1e00159d81008a27357cd697871c5017a47aa72ce1585a148ddb

Contents?: true

Size: 483 Bytes

Versions: 31

Compression:

Stored size: 483 Bytes

Contents

# This code used to borrow heavily from Radiant CMS but it was screwing up the use of helpers in ActionMailer.  
# There didn't seem to be any real use for this file other then to make ActionMailer::Base aware of the template_root 
# (which for some reason was not working with the Radiant approach anyways.)

require 'action_mailer'

# This line seems to be necessary in order to help ActionMailer find the required views
ActionMailer::Base.template_root = "#{SPREE_ROOT}/app/views"

Version data entries

31 entries across 31 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.11.4 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.11.3 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.11.2 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.11.1 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.11.0 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.10.2 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.10.1 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.10.0 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.10.0.beta lib/plugins/extension_patches/lib/mailer_hack.rb
spree-enriquez-0.9.4 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.9.4 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.9.3 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.9.2 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.9.1 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.9.0 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.8.4 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.8.5 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.0.9 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.2.0 lib/plugins/extension_patches/lib/mailer_hack.rb