Skip to content

Configure sass_email_location at Mailer level in Rails #170

Answered by stuyam
ocarreterom asked this question in Help
Discussion options

You must be logged in to vote

There isn't a away to do this on a per mailer basis using the build in bootstrap_mail method. However the bootstrap_mail method is very simple and you could use it manually with the BootstrapEmail::Compiler class and pass in manual options for configuring the sass_email_location: https://github.com/bootstrap-email/bootstrap-email/blob/master/lib/bootstrap-email/rails/action_mailer.rb#L8-L9

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ocarreterom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants