Fix email bug

This commit is contained in:
Matt Barringer 2013-02-18 20:36:21 +01:00
parent 358018cd93
commit 78007a438c

View file

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