From ec81c2945309805b10ce43ca367dac29786cf618 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 2 Oct 2018 15:47:26 -0300 Subject: [PATCH] volver a ver las imagenes --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 1ba035f..4340a9b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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