I did something with config/routes.rb and now showcard/1 shows an empty html page instead of giving an error

This commit is contained in:
Devin Howard 2012-12-30 23:33:08 -05:00
parent 8d1171c2c8
commit ae95cbf6f4

View file

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