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 8b33e3c commit 7212378Copy full SHA for 7212378
1 file changed
app/views/posts/_expanded.html.erb
@@ -75,7 +75,7 @@
75
<%= render('posts/notices/flagged', post: post, user: current_user) %>
76
<% end %>
77
78
- <% if post.pending_suggested_edit? %>
+ <% if post.pending_suggested_edit? && user_signed_in? %>
79
<%= render('posts/notices/suggested_edit', post: post, user: current_user) %>
80
81
0 commit comments