scinote-web/app/views/shared/comments/_comments_list.html.erb

6 lines
213 B
Text
Raw Normal View History

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