Skip to content

Commit

Permalink
removed redundant comment count being showed in blog section (#6746)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanish0019 authored and SidharthBansal committed Nov 9, 2019
1 parent 26465cf commit adea102
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/views/notes/_notes.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
<li>
<a> Made: <%= distance_of_time_in_words(node.created_at, Time.current, { include_seconds: false, scope:'datetime.time_ago_in_words' }) %> </a>
</li>
<li>
<a<% if @widget %>target="_blank"<% end %> href="<%= node.path %>#comments">Comments: <%= node.comments.size %></a>
</li>
<% else %>
<li>
<a>Last Edited: <%= t('notes._notes.last_edit_by') %> <a <% if @widget %>target="_blank"<% end %> href="/profile/<%= node.latest.author.name %>"><%= node.latest.author.name %></a></a>
Expand Down

0 comments on commit adea102

Please sign in to comment.