Skip to content
Permalink
Browse files

Live View

  • Loading branch information...
dnsbty committed Aug 18, 2019
1 parent 7e3e04d commit 40c3110ecac24f6486eb6d24faeade4290e1eeaf
Showing with 12 additions and 1 deletion.
  1. +11 −0 lib/user_admin_web/live/user_live/new.ex
  2. +1 −1 lib/user_admin_web/router.ex
@@ -0,0 +1,11 @@
defmodule UserAdminWeb.UserLive.New do
use Phoenix.LiveView

def mount(_session, socket) do
{:ok, socket}
end

def render(assigns) do
~L""
end
end
@@ -17,7 +17,7 @@ defmodule UserAdminWeb.Router do
scope "/", UserAdminWeb do
pipe_through :browser

get "/", PageController, :index
live "/users/new", UserLive.New
end

# Other scopes may use custom stacks.

0 comments on commit 40c3110

Please sign in to comment.
You can’t perform that action at this time.