diff options
Diffstat (limited to 'config/initializers/premailer.rb')
-rw-r--r-- | config/initializers/premailer.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/initializers/premailer.rb b/config/initializers/premailer.rb new file mode 100644 index 00000000000..a44316bc3a4 --- /dev/null +++ b/config/initializers/premailer.rb @@ -0,0 +1,7 @@ +# See https://github.com/fphilipe/premailer-rails#configuration +Premailer::Rails.config.merge!( + generate_text_part: false, + preserve_styles: true, + remove_comments: true, + remove_ids: true +) |