From 9634eb18dd862d98d722204639078854b51ae367 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 15 Oct 2017 13:31:36 -0400 Subject: Changed trainer list to root route --- config/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index 3bbb92b..438ac39 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,7 @@ Pokeviewer::Engine.routes.draw do + get '/', to: 'pokemon#index' post '/', to: 'uploader#submit' - resources :pokemon, only: [:index, :show] + resources :pokemon, only: [:show] end -- cgit 1.4.1