changes
This commit is contained in:
parent
6a258db47f
commit
beaf92f7c4
22 changed files with 773 additions and 238 deletions
|
|
@ -1,9 +1,16 @@
|
|||
defmodule EzcontainerRailwayWeb.PageController do
|
||||
use EzcontainerRailwayWeb, :controller
|
||||
|
||||
alias Phoenix.Component
|
||||
|
||||
def home(conn, _params) do
|
||||
# The home page is often custom made,
|
||||
# so skip the default app layout.
|
||||
render(conn, :home, layout: false)
|
||||
|
||||
form = Component.to_form(%{"railway_token" => ""})
|
||||
|
||||
conn
|
||||
|> assign(:form, form)
|
||||
|> render(:home, layout: false)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue