Add link to comment path on comment date

This commit is contained in:
decabeza
2019-05-30 00:34:18 +02:00
parent 5fd493cd2c
commit 0154bc556d
8 changed files with 114 additions and 1 deletions

View File

@@ -61,7 +61,12 @@
<% end %>
&nbsp;&bull;&nbsp;<span><%= l comment.created_at.to_datetime, format: :datetime %></span>
&nbsp;&bull;&nbsp;
<span>
<%= link_to comment_path(comment) do %>
<%= l comment.created_at.to_datetime, format: :datetime %>
<% end %>
</span>
</div>
<div class="comment-user