summaryrefslogtreecommitdiffstats
path: root/app/views/admin
diff options
context:
space:
mode:
authorMatt Jankowski <matt@jankowski.online>2023-11-08 08:04:52 -0500
committerGitHub <noreply@github.com>2023-11-08 13:04:52 +0000
commit13c3e59601683d5a5d57f9f2c0238a9ade0a1ad1 (patch)
tree26c95f92eecb80b2bc0f760b3e0e7e52c1811eee /app/views/admin
parentb05575e2425f45bd0b854c850787661a5d43bb98 (diff)
Use helper method to build batched status edits in `admin/statuses/show` (#27739)
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/statuses/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/statuses/show.html.haml b/app/views/admin/statuses/show.html.haml
index 7067c45dc70..0e88624def4 100644
--- a/app/views/admin/statuses/show.html.haml
+++ b/app/views/admin/statuses/show.html.haml
@@ -47,7 +47,7 @@
%h3= t('admin.statuses.history')
%ol.history
- - @status.edits.reorder(nil).includes(:account, status: [:account]).find_each(order: :asc).with_index do |status_edit, i|
+ - batched_ordered_status_edits.with_index do |status_edit, i|
%li
.history__entry
%h5