mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 19:26:21 +00:00
fixup! feat: cambiar el estado de les actores desde el panel
This commit is contained in:
parent
5370a542ff
commit
cf46988d9d
2 changed files with 10 additions and 0 deletions
4
app/views/actor_moderations/show.haml
Normal file
4
app/views/actor_moderations/show.haml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
.row.justify-content-center
|
||||||
|
.col-md-8
|
||||||
|
%h1= t('.profile')
|
||||||
|
= render 'moderation_queue/remote_profile', remote_profile: @remote_profile
|
|
@ -71,6 +71,12 @@ Rails.application.routes.draw do
|
||||||
patch :instance_moderations_action_on_several, to: 'instance_moderations#action_on_several'
|
patch :instance_moderations_action_on_several, to: 'instance_moderations#action_on_several'
|
||||||
patch :fediblock_states_action_on_several, to: 'fediblock_states#action_on_several'
|
patch :fediblock_states_action_on_several, to: 'fediblock_states#action_on_several'
|
||||||
|
|
||||||
|
resources :actor_moderations, only: [] do
|
||||||
|
ActorModeration.events.each do |actor_event|
|
||||||
|
patch actor_event, to: "actor_moderations##{actor_event}"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Gestionar artículos según idioma
|
# Gestionar artículos según idioma
|
||||||
nested do
|
nested do
|
||||||
scope '/(:locale)', constraint: /[a-z]{2}(-[A-Z]{2})?/ do
|
scope '/(:locale)', constraint: /[a-z]{2}(-[A-Z]{2})?/ do
|
||||||
|
|
Loading…
Reference in a new issue