From 4ed2a36d48b6677d7ddb137e073a985d6391b8b4 Mon Sep 17 00:00:00 2001 From: David Gay Date: Tue, 6 Apr 2021 21:56:44 -0400 Subject: Super-bare-bones pokemon adding and viewing --- config/routes.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index 0cdd7e0..45d70ea 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,10 @@ Rails.application.routes.draw do # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html root "home#index", as: :home + + namespace :games do + namespace :ptu do + resources :pokemon, only: [:show, :new, :create] + end + end end -- cgit v1.2.3