From 6aecbf4a7e763b9c8f105ceb90ecbf88291677bf Mon Sep 17 00:00:00 2001 From: evazion Date: Wed, 26 Sep 2018 02:17:07 -0500 Subject: [PATCH] posts/show: skip rendering dialogs for anon users. Anonymous users can't use any of the artist commentary / add to pool / add to favgroup dialogs, so rendering them is unnecessary. --- app/views/posts/show.html.erb | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/app/views/posts/show.html.erb b/app/views/posts/show.html.erb index a6b15d4a1..dddda0107 100644 --- a/app/views/posts/show.html.erb +++ b/app/views/posts/show.html.erb @@ -135,17 +135,19 @@ - + <% if CurrentUser.is_member? %> + - + - + + <% end %> <%= post_view_count_js %>