volver a ver las imagenes

This commit is contained in:
f 2018-10-02 15:47:26 -03:00
parent 57d0fa0c8e
commit ec81c29453
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

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