summaryrefslogtreecommitdiff
path: root/app/mailers/notify.rb
diff options
context:
space:
mode:
authorIzaak Alpert <ialpert@blackberry.com>2013-07-17 10:35:11 -0400
committerIzaak Alpert <ialpert@blackberry.com>2013-07-17 22:48:03 -0400
commit539c70c7d64589656cce804282725b97e28e49ff (patch)
treec181018c64097323006b2d303b810fdb99035997 /app/mailers/notify.rb
parentd99594273d57b2d5ed7c748b3185712960b89478 (diff)
downloadgitlab-ce-539c70c7d64589656cce804282725b97e28e49ff.tar.gz
Update emails to describe path using for_fork?
Forked MR's will print Project:Branch <source_project_with_path>:<source_branch> -> <target_project_with_path>:<target_branch> Non forked MR's will print Branch <source_branch> -> <target_branch> Change-Id: I89399aec2e7fde8e4b64b110a48099a95ae4f038
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 a5aa97ab13d..7890ca7793b 100644
--- a/app/mailers/notify.rb
+++ b/app/mailers/notify.rb
@@ -6,6 +6,7 @@ class Notify < ActionMailer::Base
add_template_helper ApplicationHelper
add_template_helper GitlabMarkdownHelper
+ add_template_helper MergeRequestsHelper
default_url_options[:host] = Gitlab.config.gitlab.host
default_url_options[:protocol] = Gitlab.config.gitlab.protocol