Skip to content

Commit

Permalink
moved cache
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Jan 1, 2025
1 parent 8c64fb5 commit 868dc68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/trade/admin/orders/index.html+phone.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<%= render 'level' %>

<%= render layout: 'index_list' do %>
<%= render partial: 'index_item', layout: 'index_item_actions', collection: @orders, as: :model, cached: true %>
<%= render partial: 'index_item', layout: 'index_item_actions', collection: @orders, as: :model %>
<% end %>

<%= paginate @orders %>
2 changes: 1 addition & 1 deletion app/views/trade/admin/orders/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<%= render 'index_actions' %>

<%= render layout: 'index_table' do %>
<%= render partial: 'index_tbody', layout: 'index_tr', collection: @orders, as: :model, cached: true %>
<%= render partial: 'index_tbody', layout: 'index_tr', collection: @orders, as: :model %>
<% end %>

<%= paginate @orders %>

0 comments on commit 868dc68

Please sign in to comment.