diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-01-28 17:54:13 +0100 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-03-19 20:04:10 +0100 |
commit | a8aa59e96ef64a11073d7c84a9af93077f98bf8a (patch) | |
tree | 12c521bbf5fc005a88c62cbaeeafb547c107fe9b /config/initializers | |
parent | 0ce7c1e494403cba995b77cd9dec09d79256d13d (diff) | |
download | gitlab-ce-a8aa59e96ef64a11073d7c84a9af93077f98bf8a.tar.gz |
Inline mailer CSS using premailer.
# Conflicts:
# Gemfile.lock
Diffstat (limited to 'config/initializers')
-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 +) |