loot
This commit is contained in:
@ -24,9 +24,9 @@ Rails.application.routes.draw do
|
||||
match "discord" => redirect("https://discord.gg/hQShdPMy7p"), via: [ :get ]
|
||||
|
||||
# Bot
|
||||
get "bot/players" => "bot#players"
|
||||
get "bot/player/:id" => "bot#player_name"
|
||||
get "bot/summary" => "bot#summary"
|
||||
get "bot/leaderboard" => "bot#leaderboard"
|
||||
get "bot/lords" => "bot#lords"
|
||||
get "bot/weekly" => "bot#weekly"
|
||||
|
||||
# Admin
|
||||
get "admin", to: "admin#index"
|
||||
@ -35,4 +35,11 @@ Rails.application.routes.draw do
|
||||
get "admin/login", to: "admin#login"
|
||||
post "admin/login_submit", to: "admin#login_submit"
|
||||
get "admin/destroy", to: "admin#destroy"
|
||||
post "admin/set_lootban", to: "admin#set_lootban"
|
||||
post "admin/delete_lootban", to: "admin#clear_lootban"
|
||||
|
||||
# Loot
|
||||
resources :loot, only: [ :create ], defaults: { format: :json }
|
||||
get "loot", to: "loot#index"
|
||||
get "loot/list", to: "loot#list"
|
||||
end
|
||||
|
Reference in New Issue
Block a user