[#169] – Move email 'from' & 'host' settings to config file

This commit is contained in:
Valery Sizov 2011-11-22 23:36:14 +02:00
parent a4fbe13fce
commit d61268e4f1
3 changed files with 7 additions and 5 deletions

1
config/email.yml Normal file
View file

@ -0,0 +1 @@
from: notify@gitlabhq.com

View file

@ -1 +1,2 @@
GITOSIS = YAML.load_file("#{Rails.root}/config/gitosis.yml")
EMAIL_OPTS = YAML.load_file("#{Rails.root}/config/email.yml")