summaryrefslogtreecommitdiff
path: root/app/mailers/notify.rb
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2014-11-11 16:10:24 +0100
committerMarin Jankovski <maxlazio@gmail.com>2014-11-11 16:10:24 +0100
commit3dcb5f8501e6eedb41c5d8a83eff1e3b80822f1d (patch)
treef6711ecd08bbe248fe46d16b2b76774e5f3fe461 /app/mailers/notify.rb
parentaf154478675f9e3d970dbd9339e0ed23c23a7eec (diff)
downloadgitlab-ce-3dcb5f8501e6eedb41c5d8a83eff1e3b80822f1d.tar.gz
Include the helper for mailer, add links to emails.
Diffstat (limited to 'app/mailers/notify.rb')
-rw-r--r--app/mailers/notify.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/mailers/notify.rb b/app/mailers/notify.rb
index bd438bab89a..0ee19836627 100644
--- a/app/mailers/notify.rb
+++ b/app/mailers/notify.rb
@@ -11,6 +11,7 @@ class Notify < ActionMailer::Base
add_template_helper ApplicationHelper
add_template_helper GitlabMarkdownHelper
add_template_helper MergeRequestsHelper
+ add_template_helper EmailsHelper
default_url_options[:host] = Gitlab.config.gitlab.host
default_url_options[:protocol] = Gitlab.config.gitlab.protocol