mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 04:56:21 +00:00
feat: controladores e información de prueba #14966
This commit is contained in:
parent
5e6cbba28e
commit
9ce510223e
3 changed files with 451 additions and 0 deletions
375
app/controllers/moderation_queue_controller.rb
Normal file
375
app/controllers/moderation_queue_controller.rb
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -50,6 +50,10 @@ Rails.application.routes.draw do
|
|||
get 'collaborate', to: 'collaborations#collaborate'
|
||||
post 'collaborate', to: 'collaborations#accept_collaboration'
|
||||
|
||||
get 'moderation_queue', to: 'moderation_queue#index'
|
||||
get 'remote_profile', to: 'moderation_queue#remote_profile'
|
||||
get 'instances', to: 'moderation_queue#instances'
|
||||
|
||||
# Gestionar artículos según idioma
|
||||
nested do
|
||||
scope '/(:locale)', constraint: /[a-z]{2}(-[A-Z]{2})?/ do
|
||||
|
|
Loading…
Reference in a new issue