Created
July 24, 2017 19:51
-
-
Save PragTob/3fa527b57eb1123ddf139ab22e509417 to your computer and use it in GitHub Desktop.
Phoenix Controller Action is explicit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def new(conn, _params) do | |
changeset = User.new_changeset(%User{}) | |
render conn, "new.html", changeset: changeset | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment