# frozen_string_literal: true # Cola de moderación de ActivityPub class ModerationQueueController < ApplicationController # Cola de moderación viendo todo el sitio def index dummy_data session[:moderation_queue_filters] = params.permit(:state, :actor_state) # @todo cambiar el estado por query @activity_pubs = site.activity_pubs @instance_moderations = rubanok_process(site.instance_moderations, with: InstanceModerationProcessor) @actor_moderations = rubanok_process(site.actor_moderations, with: ActorModerationProcessor) end # todon.nl está usando /api/v2/instance # mauve.moe usa /api/v1/instance def instances dummy_data end end