We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc83352 commit 8c1a8b2Copy full SHA for 8c1a8b2
app/views/share_comments/_show.html.erb
@@ -24,7 +24,7 @@
24
<span class="timestamp">
25
<%= time_ago_in_words comment.created_at %> ago
26
27
- <% if user_signed_in? && (share.user == current_user || comment.user == current_user) %>
+ <% if user_signed_in? && (share.user_id == current_user.id || comment.user_id == current_user.id) %>
28
<a class='dropdown-trigger right' href='#' data-target='dropdown-comment-<%= comment.id %>'>
29
<i class="material-icons">more_vert</i>
30
</a>
0 commit comments