Commit 89cdcf2bdbc6bbd424d52368d5261b1e08227c39
1 parent
1d6c5692
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
fix for visitor unable to view comments
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
plugins/comment_paragraph/views/comment_paragraph_plugin_profile/_comment_paragraph.html.erb
| ... | ... | @@ -15,7 +15,6 @@ |
| 15 | 15 | </td> |
| 16 | 16 | <td valign="top"> |
| 17 | 17 | <div align="center"> |
| 18 | - <% if logged_in? %> | |
| 19 | 18 | <%= |
| 20 | 19 | url = { :profile => profile_identifier, :controller => 'comment_paragraph_plugin_profile', :action => 'view_comments', :paragraph_id => paragraph_id, :article_id => article_id} |
| 21 | 20 | link_to_remote( |
| ... | ... | @@ -31,7 +30,6 @@ |
| 31 | 30 | :'data-url' => url_for(url) |
| 32 | 31 | } |
| 33 | 32 | )%> |
| 34 | - <% end %> | |
| 35 | 33 | </div> |
| 36 | 34 | <div class="side-comment" id="side_comment_<%= paragraph_id %>" data-paragraph="<%= paragraph_id %>" style="display:none"> |
| 37 | 35 | <div class="comment-paragraph-loading-<%= paragraph_id %>" style="position: absolute;"> | ... | ... |