diff options
author | Felipe Artur <felipefac@gmail.com> | 2017-04-06 21:19:45 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-04-07 12:53:29 +0300 |
commit | 60c121ebc202e0de31a5a6212346128341d2766b (patch) | |
tree | 34e9b534839ef2b9086849f22ef74126b8410351 /lib | |
parent | 0a4b853f2ceb0ad6c7394d1056f9139e53b38688 (diff) |
Backport permissions and multi-line array to CE
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/email/handler.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/gitlab/email/handler.rb b/lib/gitlab/email/handler.rb index 35ea2e0ef59..b07c68d1498 100644 --- a/lib/gitlab/email/handler.rb +++ b/lib/gitlab/email/handler.rb @@ -5,7 +5,11 @@ require 'gitlab/email/handler/unsubscribe_handler' module Gitlab module Email module Handler - HANDLERS = [UnsubscribeHandler, CreateNoteHandler, CreateIssueHandler].freeze + HANDLERS = [ + UnsubscribeHandler, + CreateNoteHandler, + CreateIssueHandler + ].freeze def self.for(mail, mail_key) HANDLERS.find do |klass| |