mirror of
https://github.com/mastodon/mastodon
synced 2024-12-01 00:08:21 +09:00
5276c0a090
- premailer gem to turn CSS into inline styles automatically - rework UserMailer templates - reword UserMailer templates
7 lines
295 B
Ruby
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])
|