scinote-web/app/views/shared/comments/_comments_list.html.erb
aignatov-bio adb9084787
Fix comments red dot and ordering of comments [SCI-5384] (#3084)
* Fix comments red dot and ordering of comments [SCI-5384]
2021-01-14 16:28:11 +01:00

6 lines
213 B
Plaintext

<% comments.each do |comment| %>
<%= render partial: 'shared/comments/comment.html.erb',
locals: { comment: comment } %>
<% end %>
<% comments.mark_as_seen_by(current_user) && @commentable.touch %>