Include the proper encoded_mail_to require so that displayed email addresses will actually be obfuscated!

rails5
echarp 6 years ago
parent 73dc008412
commit 1849ac942b
  1. 4
      config/application.rb

@ -2,6 +2,10 @@ require File.expand_path('../boot', __FILE__)
require 'rails/all'
# Necessary to actually use this feature
# see https://github.com/reed/actionview-encoded_mail_to/issues/15
require 'action_view/encoded_mail_to/mail_to_with_encoding'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)

Loading…
Cancel
Save