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
spree-0.4.1 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.4.0 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.5.0 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.6.0 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.5.1 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.7.0 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.7.1 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.8.0 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.8.1 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.8.2 lib/plugins/extension_patches/lib/mailer_hack.rb
spree-0.8.3 lib/plugins/extension_patches/lib/mailer_hack.rb