mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-28 19:06:21 +00:00
fixup! feat: poder seleccionar todas las instancias
This commit is contained in:
parent
9b2efaafac
commit
ca4b3360cd
1 changed files with 8 additions and 0 deletions
8
app/processors/instance_moderation_processor.rb
Normal file
8
app/processors/instance_moderation_processor.rb
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
# Gestiona los filtros de InstanceModeration
|
||||||
|
class InstanceModerationProcessor < Rubanok::Processor
|
||||||
|
map :state, activate_always: true do |state: 'paused'|
|
||||||
|
raw.where(aasm_state: state)
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue