From ae95cbf6f4aa2bd468eae02c6014027f0e9cb600 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Sun, 30 Dec 2012 23:33:08 -0500 Subject: [PATCH] I did something with config/routes.rb and now showcard/1 shows an empty html page instead of giving an error --- config/routes.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 6fac3130..cd1dafda 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -9,7 +9,9 @@ ISSAD::Application.routes.draw do match 'search', to: 'main#search', via: :get, as: :search match 'maps/:id/savelayout', to: 'maps#savelayout', via: :put, as: :savelayout - + + match 'showcard/:id', to: 'items#showcard', via: :get, as: :showcard + resource :session resources :items do