Fix sidebar caching issue for articles (#981)
This commit is contained in:
parent
302e8f202d
commit
8661fe44d5
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<% cache("sticky-sidebar-#{@article.id}-#{@article.edited_at}-#{(@organization || @user).updated_at}", :expires_in => 8.hours) do %>
|
||||
<% cache("sticky-sidebar-#{@article.id}-#{@article.updated_at}-#{(@organization || @user).updated_at}-#{user_signed_in?}", :expires_in => 8.hours) do %>
|
||||
<%= render "articles/sticky_nav" %>
|
||||
<% end %>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue