/api/invite triggers sending a mail invite to the given user.
This commit is contained in:
@ -37,6 +37,8 @@ defmodule BeetRoundServerWeb.Router do
|
||||
get "/biddings_of_round/:round_number", BiddingController, :biddings_of_round
|
||||
get "/biddings_of_highest_round", BiddingController, :biddings_of_highest_round
|
||||
|
||||
post "/invite", UserController, :invite
|
||||
|
||||
resources "/users", UserController, except: [:new, :edit]
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user