diff options
author | David Gay <david@davidgay.org> | 2021-05-28 21:45:50 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-28 21:45:50 -0400 |
commit | 65752b4f73cf8e1ce83cdaf8227b5d67923ac729 (patch) | |
tree | 5aa91176d33e828a7c70f122f87946948c884026 /config | |
parent | ca98987c1a14655aedb4bdcf8fef7311131ca1be (diff) |
Quickly port leaderboard and rankings from old Esoterra
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 7ed608a..a860321 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -23,6 +23,7 @@ Rails.application.routes.draw do resources :characters, only: [:show, :new, :create] do post "/combat_styles", to: "characters#set_combat_styles" scope module: :characters do + get "/rankings", to: "rankings#index" post "/items/unequip/:slot", to: "items#unequip", as: :item_unequip resources :items, only: [:index] do post "/equip", to: "items#equip" @@ -35,6 +36,8 @@ Rails.application.routes.draw do end end + get "/leaderboard", to: "leaderboard#index" + get "/bazaar", to: "bazaar#index" post "/bazaar", to: "bazaar#create_order", as: :bazaar_order post "/bazaar/accept/:id", to: "bazaar#accept_offer", as: :bazzar_accept_offer |