Better HTML emails, smarter email digests, new email section in admin with digest preview

This commit is contained in:
Robin Ward
2013-06-03 16:12:24 -04:00
parent f030d9b420
commit 0b97ea6345
69 changed files with 552 additions and 443 deletions

View File

@ -0,0 +1,12 @@
module UserNotificationsHelper
def indent(text, by=2)
spacer = " " * by
result = ""
text.each_line do |line|
result << spacer << line
end
result
end
end