Added routes for bidding round control.

This commit is contained in:
2026-02-13 20:30:54 +01:00
parent 6eea9d2fba
commit ebdb919245

View File

@ -29,7 +29,10 @@ defmodule BeetRoundServerWeb.Router do
get "/", DefaultApiController, :index
resources "/bidding_rounds", BiddingRoundController, except: [:new, :edit]
get "/bidding_rounds/get_current", BiddingRoundController, :get_highest
get "/bidding_rounds/start_new", BiddingRoundController, :start_new
get "/bidding_rounds/restart", BiddingRoundController, :restart
get "/bidding_rounds/stop", BiddingRoundController, :stop
resources "/users", UserController, except: [:new, :edit]
resources "/biddings", BiddingController, except: [:new, :edit]
end