1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-30 14:38:26 +09:00
whippy-edition/config/initializers/premailer_rails.rb
Eugen Rochko 5276c0a090
HTML e-mails for UserMailer (#6256)
- premailer gem to turn CSS into inline styles automatically
- rework UserMailer templates
- reword UserMailer templates
2018-01-16 03:29:11 +01:00

7 lines
295 B
Ruby

require_relative '../../lib/mastodon/premailer_webpack_strategy'
Premailer::Rails.config.merge!(remove_ids: true,
adapter: :nokogiri,
generate_text_part: false,
strategies: [PremailerWebpackStrategy])