This commit is contained in:
benbot 2023-10-25 03:58:10 -04:00
parent 6a258db47f
commit beaf92f7c4
22 changed files with 773 additions and 238 deletions

View file

@ -4,6 +4,7 @@ defmodule EzcontainerRailwayWeb.Router do
pipeline :browser do
plug :accepts, ["html"]
plug :fetch_session
#plug EzcontainerRailwayWeb.AnonSession
plug :fetch_live_flash
plug :put_root_layout, html: {EzcontainerRailwayWeb.Layouts, :root}
plug :protect_from_forgery
@ -18,6 +19,9 @@ defmodule EzcontainerRailwayWeb.Router do
pipe_through :browser
get "/", PageController, :home
post "/token", SessionController, :token
resources("/containers", ContainerController, only: [:index, :create, :show])
end
# Other scopes may use custom stacks.