Preparatory work
This commit is contained in:
parent
a22ba724df
commit
386a331956
9 changed files with 217 additions and 1 deletions
|
|
@ -20,6 +20,12 @@ defmodule BirdyChatWeb.Router do
|
|||
get "/", PageController, :home
|
||||
end
|
||||
|
||||
scope "/api", BirdyChatWeb.Api do
|
||||
pipe_through [:api]
|
||||
|
||||
post "/messages", Messages.Controller, :create
|
||||
end
|
||||
|
||||
# Other scopes may use custom stacks.
|
||||
# scope "/api", BirdyChatWeb do
|
||||
# pipe_through :api
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue