Fix rubocop warning

This commit is contained in:
Tom Hughes 2020-08-02 13:00:21 +01:00
parent ff5c456720
commit eee84267f9

View file

@ -35,7 +35,7 @@
<% if @note_comments.length > 1 %>
<div class='note-comments'>
<ul class="list-unstyled">
<% @note_comments[1..-1].each do |comment| %>
<% @note_comments[1..].each do |comment| %>
<li id="c<%= comment.id %>">
<small class='text-muted'><%= note_event(comment.event, comment.created_at, comment.author) %></small>
<%= comment.body.to_html %>