diff options
author | David Gay <david@davidgay.org> | 2021-05-02 22:38:32 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-02 22:38:32 -0400 |
commit | 1b2de86007508ba86c6c9cb99fbdcac178045131 (patch) | |
tree | a007fc55acd2b54b5db108e3580928a9a006d71e /config | |
parent | 1d5083ddf7f2b285e63bb8019d38199e862fa1d8 (diff) |
Character items and inventory, with ability to add and remove items
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index e048a85..bd5793e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -11,5 +11,9 @@ Rails.application.routes.draw do put "users", to: "devise/registrations#update", as: "user_registration" end - resources :characters, only: [:show, :new, :create] + resources :characters, only: [:show, :new, :create] do + scope module: :characters do + resources :items, only: [:index] + end + end end |