add liveview helpers

This commit is contained in:
2021-09-02 23:32:53 -04:00
committed by oliviasculley
parent 81a250206e
commit 66cc11e9eb
8 changed files with 71 additions and 8 deletions

View File

@ -9,7 +9,7 @@ defmodule LokalWeb.UserSocket do
# verification, you can put default assigns into
# the socket that will be set for all channels, ie
#
# {:ok, assign(socket, :user_id, verified_user_id)}
# {:ok, socket |> assign(:user_id, verified_user_id)}
#
# To deny connection, return `:error`.
#