fixed email markdown

This commit is contained in:
gitlabhq 2012-04-23 15:32:56 +03:00
parent 21f3da2358
commit d97a9aa4a4
6 changed files with 22 additions and 4 deletions

View file

@ -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