Improve messagerie readability

This commit is contained in:
Mathieu Magnin 2017-12-14 17:10:13 +01:00
parent 410a12b966
commit 5c46db3b3d
5 changed files with 41 additions and 3 deletions

View file

@ -0,0 +1,7 @@
module CommentaireHelper
def commentaire_is_from_me_class(commentaire, email)
if commentaire.email == email
"from-me"
end
end
end