Skip to content

Commit

Permalink
#7 Create new live view file with mount callback
Browse files Browse the repository at this point in the history
  • Loading branch information
rafavelar committed Aug 7, 2020
1 parent ac5ff7a commit 6514d04
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rafavelar/git_pro/lib/git_pro_web/live/my_route_live.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
defmodule GitProWeb.MyRouteLive do
use GitProWeb, :live_view

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

0 comments on commit 6514d04

Please sign in to comment.