Added confirmation modals, fixed reply to emails, and added premailer

This commit is contained in:
Godwin
2016-06-10 18:57:10 -07:00
parent 1a61feec1b
commit 718d77a3fc
30 changed files with 340 additions and 178 deletions
+6
View File
@@ -35,4 +35,10 @@ class User < ActiveRecord::Base
firstname || username || email
end
def named_email
name = firstname || username
return email unless name
return "#{name} <#{email}>"
end
end