Skip to content

Commit e11e2d6

Browse files
committed
Update comments query call to new name #authored_comments
1 parent b7818f4 commit e11e2d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: app/views/comments/_comments.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<section class="comments" id="comments">
2-
<% target.sorted_authored_comments.each do |comment| %>
2+
<% target.authored_comments.each do |comment| %>
33
<article <%= comment.author_id == current_user.id ? "class=\"user comment\"".
44
html_safe : "class=comment" %>
55
id="<%= "c-#{comment.id}" %>">

0 commit comments

Comments
 (0)