show single pinned article (#3803)
This commit is contained in:
parent
0a9dc547d0
commit
d093667198
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@
|
|||
<div class="substories" id="substories">
|
||||
<% if params[:view] == "comments" %>
|
||||
<%= render "users/comments_section" %>
|
||||
<% elsif @stories.any? || @comments.any? %>
|
||||
<% elsif @stories.any? || @comments.any? || @pinned_stories.any? %>
|
||||
<%= render "users/main_feed" %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue