summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-04-06 21:56:44 -0400
committerDavid Gay <david@davidgay.org>2021-04-06 21:56:44 -0400
commit4ed2a36d48b6677d7ddb137e073a985d6391b8b4 (patch)
tree5e94cc8de10e747f3157142a6fab73e99b047dcf /config
parentb85c671ca482e9d36bd2ee94231f365e7e0d65a5 (diff)
Super-bare-bones pokemon adding and viewing
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb6
1 files changed, 6 insertions, 0 deletions
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