8 lines
148 B
Ruby
8 lines
148 B
Ruby
|
module CommentaireHelper
|
||
|
def commentaire_is_from_me_class(commentaire, email)
|
||
|
if commentaire.email == email
|
||
|
"from-me"
|
||
|
end
|
||
|
end
|
||
|
end
|