From 65752b4f73cf8e1ce83cdaf8227b5d67923ac729 Mon Sep 17 00:00:00 2001 From: David Gay Date: Fri, 28 May 2021 21:45:50 -0400 Subject: Quickly port leaderboard and rankings from old Esoterra --- config/routes.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config') 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 -- cgit v1.2.3