diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-08-09 09:48:23 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-08-09 09:48:23 +0300 |
commit | ec298011f2da1b94232e601c8e857ca180a2274d (patch) | |
tree | 7fe9e68c2835310fdccde20ebc16b78e93ea2cda /lib/gitlab/email | |
parent | af9127e0491a284fae82d347ae311b0710e63fff (diff) |
Rails prefers require_dependency so that it won't require twice:
Closes #20724
Diffstat (limited to 'lib/gitlab/email')
-rw-r--r-- | lib/gitlab/email/receiver.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/email/receiver.rb b/lib/gitlab/email/receiver.rb index 9213cfb51e8..a40c44eb1bc 100644 --- a/lib/gitlab/email/receiver.rb +++ b/lib/gitlab/email/receiver.rb @@ -1,5 +1,5 @@ -require 'gitlab/email/handler' +require_dependency 'gitlab/email/handler' # Inspired in great part by Discourse's Email::Receiver module Gitlab |