This commit is contained in:
Albert Yi
2018-04-25 14:31:11 -07:00
parent af3404b087
commit b0a3f574ed
5 changed files with 108 additions and 33 deletions

View File

@@ -928,7 +928,7 @@ class User < ApplicationRecord
def dmail_count
if has_mail?
"(#{dmails.unread.count})"
"(#{unread_dmail_count})"
else
""
end