Stylesheets not working with email layout on haml
chmich opened this issue · comments
Hi,
that is not a big issue:
a bit similar to 246 and 232, my stylesheets where not working.
i'm working on rails-6 and included my stylesheets from asset pipeline not by webpacker.
Reason is, that in rails 7, webpacker will be removed.
And, i am working with haml (gem 'haml-rails')
So, = stylesheet_link_tag 'email'
where not working
Finaly, i switched back my email-layout to .html.erb
The Email view, itself remains on .haml
and, so it works with the same stylesheet_link_tag
So it is not a big problem for me, but more a info for you.
i have the huge advantage of this fine gem, i can work with .scss
stylesheets
had to set
development.rb
config.action_mailer.default_url_options = { :host => "localhost:3000" }
config.action_mailer.asset_host = "http://localhost:3000"
now ists working with haml well