diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-07-03 19:52:48 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-07-03 19:52:48 +0400 |
commit | 51f174b97f686397bc7299c16a64fda14d5bc718 (patch) | |
tree | 75cf5c6a8625ff97119dcda4cc45a11b8e56c873 /app/mailers | |
parent | 00ef16a66c3865e534004d236052f8b13f5a6735 (diff) |
fix port issue
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/notify.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/notify.rb b/app/mailers/notify.rb index ee738b4c580..c673eb3d161 100644 --- a/app/mailers/notify.rb +++ b/app/mailers/notify.rb @@ -4,7 +4,7 @@ class Notify < ActionMailer::Base default_url_options[:host] = Gitlab.config.web_host default_url_options[:protocol] = Gitlab.config.web_protocol - default_url_options[:port] = Gitlab.config.web_port + default_url_options[:port] = Gitlab.config.web_port if Gitlab.config.web_custom_port? default from: Gitlab.config.email_from |