mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 07:46:21 +00:00
parent
061fc81cb0
commit
93140f37aa
2 changed files with 4 additions and 4 deletions
|
@ -12,6 +12,6 @@
|
|||
- if moderation_queue.count.zero?
|
||||
%h4= t('moderation_queue.nothing')
|
||||
- moderation_queue.each do |activity_pub|
|
||||
-# cache [activity_pub, activity_pub.object, activity_pub.actor] do
|
||||
- cache [activity_pub, activity_pub.object, activity_pub.actor] do
|
||||
%hr
|
||||
= render 'moderation_queue/comment', comment: activity_pub.object.content, profile: activity_pub.actor.content, activity_pub: activity_pub, form: form_id
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
%h4= t('moderation_queue.nothing')
|
||||
|
||||
- instance_moderations.each do |instance_moderation|
|
||||
- cache [instance_moderation.aasm_state, instance_moderation.instance] do
|
||||
- cache [instance_moderation, instance_moderation.instance] do
|
||||
%hr
|
||||
= render 'moderation_queue/instance', instance_moderation: instance_moderation, instance: instance_moderation.instance, form: form_id
|
||||
|
||||
|
|
Loading…
Reference in a new issue