mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-29 11:26:29 +08:00
adb9084787
* Fix comments red dot and ordering of comments [SCI-5384]
6 lines
213 B
Plaintext
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 %>
|