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

This commit is contained in:
echarp 2016-12-17 15:14:28 +01:00
parent 73dc008412
commit 1849ac942b
1 changed files with 4 additions and 0 deletions

View File

@ -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)