5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 00:26:22 +00:00

fixup! feat: cambiar el estado de les actores desde el panel

This commit is contained in:
f 2024-02-29 15:53:32 -03:00
parent 5370a542ff
commit cf46988d9d
No known key found for this signature in database
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,4 @@
.row.justify-content-center
.col-md-8
%h1= t('.profile')
= render 'moderation_queue/remote_profile', remote_profile: @remote_profile

View file

@ -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