blob: 9228d5d234a0f8188efc6b5097a62e86c5604f4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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
get "/ptu", to: "ptu#index"
namespace :ptu do
resources :pokemon
resources :encounters, only: [:index]
end
end
end
|