Skip to content

Commit

Permalink
Fix erblint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Nov 17, 2020
1 parent 2ecfd61 commit 4e78f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/browse/note.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<% if @note_comments.length > 1 %>
<div class='note-comments'>
<ul class="list-unstyled">
<% @note_comments[1..].each do |comment| %>
<% @note_comments.drop(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 %>
Expand Down

0 comments on commit 4e78f3a

Please sign in to comment.