Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgitlabhq <m@gitlabhq.com>2012-04-23 16:32:56 +0400
committergitlabhq <m@gitlabhq.com>2012-04-23 16:32:56 +0400
commitd97a9aa4a44ff9f452144fad348fd9d7e3b48260 (patch)
tree905c33874b064778199f806749d5688e33d64be3 /app/mailers
parent21f3da23589d50038728393f0badc6255b5762ca (diff)
fixed email markdownv2.4.1
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/notify.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/mailers/notify.rb b/app/mailers/notify.rb
index 9c2cc7c5b29..4c72d9175f0 100644
--- a/app/mailers/notify.rb
+++ b/app/mailers/notify.rb
@@ -1,4 +1,6 @@
class Notify < ActionMailer::Base
+ add_template_helper ApplicationHelper
+
default_url_options[:host] = EMAIL_OPTS["host"]
default_url_options[:protocol] = -> { EMAIL_OPTS["protocol"] ? EMAIL_OPTS["protocol"] : "http" }.call