Commit e9a48edea6eb8cc3eb5ae62de8d5a93337e87bf5

Thomas de Grivel 2022-02-03T16:34:45

fix new admin

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/lib/kmxgit_web/controllers/page_controller.ex b/lib/kmxgit_web/controllers/page_controller.ex
index 39c080e..f952c1d 100644
--- a/lib/kmxgit_web/controllers/page_controller.ex
+++ b/lib/kmxgit_web/controllers/page_controller.ex
@@ -81,7 +81,6 @@ defmodule KmxgitWeb.PageController do
             |> assign(:changeset, changeset)
             |> assign(:action, Routes.page_path(conn, :new_admin))
             |> render("new_admin.html")
-        end
       end
     else
       redirect(conn, to: "/")