From 8024d9f0badbf2111266ec2418370229bd94a58a Mon Sep 17 00:00:00 2001 From: evazion Date: Sun, 16 Feb 2020 03:28:45 -0600 Subject: [PATCH] /comment_votes: fixup creator_name reference. --- app/views/comment_votes/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/comment_votes/index.html.erb b/app/views/comment_votes/index.html.erb index 40c1aff09..3a18b7707 100644 --- a/app/views/comment_votes/index.html.erb +++ b/app/views/comment_votes/index.html.erb @@ -24,7 +24,7 @@ <% end %> <% t.column "Commenter" do |vote| %> <%= link_to_user vote.comment.creator %> - <%= link_to "»", comment_votes_path(search: { comment: { creator_name: vote.comment.creator_name }}) %> + <%= link_to "»", comment_votes_path(search: { comment: { creator_name: vote.comment.creator.name }}) %>
<%= time_ago_in_words_tagged(vote.comment.created_at) %>
<% end %> <% t.column "Voter" do |vote| %>