mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-19 08:13:37 +00:00
eliminar blazer de las rutas por sitio
This commit is contained in:
parent
83b9325d0c
commit
0cd71ad779
1 changed files with 0 additions and 3 deletions
|
@ -36,9 +36,6 @@ Rails.application.routes.draw do
|
||||||
match '/api/v3/projects/:site_id/notices' => 'api/v1/notices#create', via: %i[post]
|
match '/api/v3/projects/:site_id/notices' => 'api/v1/notices#create', via: %i[post]
|
||||||
|
|
||||||
resources :sites, constraints: { site_id: %r{[^/]+}, id: %r{[^/]+} } do
|
resources :sites, constraints: { site_id: %r{[^/]+}, id: %r{[^/]+} } do
|
||||||
# Usar Blazer para mostrar estadísticas
|
|
||||||
mount Blazer::Engine, at: 'stats', as: 'stats'
|
|
||||||
|
|
||||||
# Gestionar actualizaciones del sitio
|
# Gestionar actualizaciones del sitio
|
||||||
get 'pull', to: 'sites#fetch'
|
get 'pull', to: 'sites#fetch'
|
||||||
post 'pull', to: 'sites#merge'
|
post 'pull', to: 'sites#merge'
|
||||||
|
|
Loading…
Reference in a new issue