Configure sass_email_location
at Mailer level in Rails
#170
Answered
by
stuyam
ocarreterom
asked this question in
Help
-
Is there a way to set up the |
Beta Was this translation helpful? Give feedback.
Answered by
stuyam
Mar 30, 2022
Replies: 1 comment
-
There isn't a away to do this on a per mailer basis using the build in |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ocarreterom
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There isn't a away to do this on a per mailer basis using the build in
bootstrap_mail
method. However thebootstrap_mail
method is very simple and you could use it manually with theBootstrapEmail::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