diff options
author | David Gay <david@davidgay.org> | 2021-05-23 20:15:03 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-23 20:15:03 -0400 |
commit | 82eec1f68172857b3b39e6ab3e3b837de16c1198 (patch) | |
tree | a1edb49f55ad01c3acaf41070bf09f207fcfaf22 /config | |
parent | 6bf84733db22f6c5d5105acc3565b075fcc65917 (diff) |
Item usage
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 4eee2a0..69865ee 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -20,6 +20,7 @@ Rails.application.routes.draw do post "/items/unequip/:slot", to: "items#unequip", as: :item_unequip resources :items, only: [:index] do post "/equip", to: "items#equip" + post "/use", to: "items#use" end resources :titles, only: [:index] do post "/activate", to: "titles#activate" |