mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 04:01:43 +00:00
volver a ver las imagenes
This commit is contained in:
parent
57d0fa0c8e
commit
ec81c29453
1 changed files with 1 additions and 1 deletions
|
@ -7,13 +7,13 @@ Rails.application.routes.draw do
|
|||
|
||||
get 'markdown', to: 'application#markdown'
|
||||
|
||||
get '/sites/:site_id/public/:type/:basename', to: 'sites#send_public_file'
|
||||
|
||||
# XXX Mantenemos solo esta ruta acá porque form_for no reconoce @site
|
||||
# como un objeto válido
|
||||
resources :invitadxs, only: [:create]
|
||||
|
||||
resources :sites, only: [:index, :show], constraints: { site_id: /[^\/]+/, id: /[^\/]+/ } do
|
||||
get 'public/:type/:basename', to: 'sites#send_public_file'
|
||||
resources :posts
|
||||
resources :templates
|
||||
resources :invitadxs, only: [:index, :new, :show] do
|
||||
|
|
Loading…
Reference in a new issue