mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 07:16:21 +00:00
Merge branch 'issue-15578' of 0xacab.org:sutty/sutty into issue-15109-1
This commit is contained in:
commit
d7f898c1ae
1 changed files with 7 additions and 0 deletions
|
@ -4,8 +4,15 @@
|
||||||
class ModerationQueueController < ApplicationController
|
class ModerationQueueController < ApplicationController
|
||||||
include ModerationFiltersConcern
|
include ModerationFiltersConcern
|
||||||
|
|
||||||
|
before_action :authenticate_usuarie!
|
||||||
|
|
||||||
|
breadcrumb -> { current_usuarie.email }, :edit_usuarie_registration_path
|
||||||
|
breadcrumb 'sites.index', :sites_path, match: :exact
|
||||||
|
|
||||||
# Cola de moderación viendo todo el sitio
|
# Cola de moderación viendo todo el sitio
|
||||||
def index
|
def index
|
||||||
|
breadcrumb I18n.t('moderation_queue.index.title'), ''
|
||||||
|
|
||||||
# @todo cambiar el estado por query
|
# @todo cambiar el estado por query
|
||||||
@activity_pubs = site.activity_pubs
|
@activity_pubs = site.activity_pubs
|
||||||
@instance_moderations = rubanok_process(site.instance_moderations, with: InstanceModerationProcessor)
|
@instance_moderations = rubanok_process(site.instance_moderations, with: InstanceModerationProcessor)
|
||||||
|
|
Loading…
Reference in a new issue