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 '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
|
# XXX Mantenemos solo esta ruta acá porque form_for no reconoce @site
|
||||||
# como un objeto válido
|
# como un objeto válido
|
||||||
resources :invitadxs, only: [:create]
|
resources :invitadxs, only: [:create]
|
||||||
|
|
||||||
resources :sites, only: [:index, :show], constraints: { site_id: /[^\/]+/, id: /[^\/]+/ } do
|
resources :sites, only: [:index, :show], constraints: { site_id: /[^\/]+/, id: /[^\/]+/ } do
|
||||||
|
get 'public/:type/:basename', to: 'sites#send_public_file'
|
||||||
resources :posts
|
resources :posts
|
||||||
resources :templates
|
resources :templates
|
||||||
resources :invitadxs, only: [:index, :new, :show] do
|
resources :invitadxs, only: [:index, :new, :show] do
|
||||||
|
|
Loading…
Reference in a new issue