Improve messagerie readability
This commit is contained in:
parent
410a12b966
commit
5c46db3b3d
5 changed files with 41 additions and 3 deletions
7
app/helpers/commentaire_helper.rb
Normal file
7
app/helpers/commentaire_helper.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
module CommentaireHelper
|
||||
def commentaire_is_from_me_class(commentaire, email)
|
||||
if commentaire.email == email
|
||||
"from-me"
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue