diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index e29f9e9..f9c1f7b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -17,7 +17,10 @@ Rails.application.routes.draw do resources :characters, only: [:show, :new, :create] do scope module: :characters do - resources :items, only: [:index] + post "/items/unequip/:slot", to: "items#unequip", as: :item_unequip + resources :items, only: [:index] do + post "/equip", to: "items#equip" + end resources :titles, only: [:index] do post "/activate", to: "titles#activate" end |