summaryrefslogtreecommitdiff
path: root/app/mailers
diff options
context:
space:
mode:
authorVyacheslav Slinko <vyacheslav.slinko@gmail.com>2015-01-02 15:47:22 +0300
committerVyacheslav Slinko <vyacheslav.slinko@gmail.com>2015-03-11 11:04:23 +0700
commit61ed518781cfc78bf1710286d84d4e74521f48d4 (patch)
tree28f51d37b5d1b5f5afba069aacf4bcb245986d28 /app/mailers
parent21c99e6a7797edb6a857e90c83fee3e5f1051adc (diff)
downloadgitlab-ce-61ed518781cfc78bf1710286d84d4e74521f48d4.tar.gz
Make email display name configurable
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/notify.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/notify.rb b/app/mailers/notify.rb
index 65925b61e94..ee27879cf40 100644
--- a/app/mailers/notify.rb
+++ b/app/mailers/notify.rb
@@ -53,7 +53,7 @@ class Notify < ActionMailer::Base
# The default email address to send emails from
def default_sender_address
address = Mail::Address.new(Gitlab.config.gitlab.email_from)
- address.display_name = "GitLab"
+ address.display_name = Gitlab.config.gitlab.email_display_name
address
end