Skip to content

Commit

Permalink
3. Create app_live.ex and insert code #53
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Mar 13, 2022
1 parent f8c7cd3 commit 56318a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/app_web/live/app_live.ex
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
defmodule App.AppLive do
defmodule AppWeb.AppLive do
use AppWeb, :live_view

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

def render(assigns) do
AppWeb.AppView.render("messages.html", assigns)
AppWeb.AppView.render("index.html", assigns)
end
end

0 comments on commit 56318a2

Please sign in to comment.