2020-11-20 19:29:40 +08:00
|
|
|
<% comments.each do |comment| %>
|
|
|
|
<%= render partial: 'shared/comments/comment.html.erb',
|
|
|
|
locals: { comment: comment } %>
|
|
|
|
<% end %>
|
2021-01-14 23:28:11 +08:00
|
|
|
<% comments.mark_as_seen_by(current_user) && @commentable.touch %>
|