mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +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 %>
|
||||
<% project_is_managable = can_manage_project?(@project) %>
|
||||
<% cards.each do |card| %>
|
||||
<% cache [current_user, card] do %>
|
||||
<% cache [current_user, @project, card] do %>
|
||||
<%= render partial: 'projects/show/experiment_card',
|
||||
locals: { experiment: card, project: @project, project_is_managable: project_is_managable } %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue