Add generated starter app
This commit is contained in:
parent
29425fee80
commit
f2eeb95960
45 changed files with 2571 additions and 0 deletions
9
lib/mv_web/controllers/page_controller.ex
Normal file
9
lib/mv_web/controllers/page_controller.ex
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
defmodule MvWeb.PageController do
|
||||
use MvWeb, :controller
|
||||
|
||||
def home(conn, _params) do
|
||||
# The home page is often custom made,
|
||||
# so skip the default app layout.
|
||||
render(conn, :home, layout: false)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue