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

5 lines
213 B
Text

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