Add conference wide media, fix proposal#show view
This commit is contained in:
parent
4592802411
commit
633fff59d8
10 changed files with 82 additions and 54 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue