Added confirmation modals, fixed reply to emails, and added premailer
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user