mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 05:02:50 +08:00
Fix experiment caching issue [SCI-6400]
This commit is contained in:
parent
53a6bea0f6
commit
8569a1dae7
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
<% else %>
|
<% else %>
|
||||||
<% project_is_managable = can_manage_project?(@project) %>
|
<% project_is_managable = can_manage_project?(@project) %>
|
||||||
<% cards.each do |card| %>
|
<% cards.each do |card| %>
|
||||||
<% cache [current_user, card] do %>
|
<% cache [current_user, @project, card] do %>
|
||||||
<%= render partial: 'projects/show/experiment_card',
|
<%= render partial: 'projects/show/experiment_card',
|
||||||
locals: { experiment: card, project: @project, project_is_managable: project_is_managable } %>
|
locals: { experiment: card, project: @project, project_is_managable: project_is_managable } %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue