Skip to content

Commit

Permalink
cached
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Jan 5, 2025
1 parent 9e82d2e commit d3ca066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/factory/admin/products/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<%= render layout: 'index_table' do %>
<% @products.group_by(&:taxon).each do |taxon, products| %>
<%= render partial: 'taxon_tbody', locals: { taxon: taxon, size: products.size + 1 } %>
<%= render partial: 'index_tbody', layout: 'index_tr', collection: products, as: :model %>
<%= render partial: 'index_tbody', layout: 'index_tr', collection: products, as: :model, cached: true %>
<% end %>
<% end %>

Expand Down

0 comments on commit d3ca066

Please sign in to comment.