Added routes for bidding round control.
This commit is contained in:
@ -29,7 +29,10 @@ defmodule BeetRoundServerWeb.Router do
|
|||||||
|
|
||||||
get "/", DefaultApiController, :index
|
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 "/users", UserController, except: [:new, :edit]
|
||||||
resources "/biddings", BiddingController, except: [:new, :edit]
|
resources "/biddings", BiddingController, except: [:new, :edit]
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user