diff options
author | Semyon Pupkov <mail@semyonpupkov.com> | 2017-02-11 22:30:15 +0500 |
---|---|---|
committer | Semyon Pupkov <mail@semyonpupkov.com> | 2017-02-15 23:15:48 +0500 |
commit | a89e9736266cbf9ccde3a49eccd8ab04f72bf38f (patch) | |
tree | bd93dafd640e171d4658fd4d606d52477d0915f4 /config/initializers | |
parent | 5e95296278a629df317d769ae70a3bb9513a64cd (diff) | |
download | gitlab-ce-a89e9736266cbf9ccde3a49eccd8ab04f72bf38f.tar.gz |
Set `Auto-Submitted: auto-generated` header to emails
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/20305
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/additional_headers_interceptor.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/additional_headers_interceptor.rb b/config/initializers/additional_headers_interceptor.rb new file mode 100644 index 00000000000..b9159e7c06c --- /dev/null +++ b/config/initializers/additional_headers_interceptor.rb @@ -0,0 +1 @@ +ActionMailer::Base.register_interceptor(AdditionalEmailHeadersInterceptor) |