Add conference wide media, fix proposal#show view

This commit is contained in:
Henne Vogelsang 2014-04-14 16:25:17 +02:00
parent 4592802411
commit 633fff59d8
10 changed files with 82 additions and 54 deletions

View file

@ -45,7 +45,7 @@ class EmailSettings < ActiveRecord::Base
def parse_template(text, values)
values.each do |key, value|
text = text.gsub"{#{key}}", value
text = text.gsub"{#{key}}", value unless text.blank?
end
text
end