oddcamp / mrml-rails

Rails ActionMailer Plugin for MRML (Rust version of MJML)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to support `.mjml.erb` files vs `.mjml`?

marcelolx opened this issue · comments

We have been happily using this gem, but we have been wondering if it could be possible for our mailer views to have the .mjml.erb extension versus just .mjml?

When the mailer view has the .mjml extension, it is rendered as expected, but when it is .mjml.erb it is not compiling the mjml markup

Or should it already work, and we are doing something wrong?