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:
parent
8d1171c2c8
commit
ae95cbf6f4
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue