From cfc56519f5240d575fc5d147973c8b6cb9a6df7c Mon Sep 17 00:00:00 2001 From: shibao Date: Sun, 4 Jun 2023 00:07:31 -0400 Subject: [PATCH] fix user registration controller --- lib/cannery_web/controllers/user_registration_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cannery_web/controllers/user_registration_controller.ex b/lib/cannery_web/controllers/user_registration_controller.ex index 21ce31bb..554a88eb 100644 --- a/lib/cannery_web/controllers/user_registration_controller.ex +++ b/lib/cannery_web/controllers/user_registration_controller.ex @@ -71,7 +71,7 @@ defmodule CanneryWeb.UserRegistrationController do |> redirect(to: ~p"/") {:error, %Changeset{} = changeset} -> - conn |> render("new.html", changeset: changeset, invite_token: invite_token) + conn |> render(:new, changeset: changeset, invite_token: invite_token) end end end