Commit f349696e08e9e2ab32b41fcb975ea545d3bbf5b9

Thomas de Grivel 2024-05-14T18:51:27

repository controller: missing public access info

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/lib/kmxgit_web/controllers/repository_controller.ex b/lib/kmxgit_web/controllers/repository_controller.ex
index 600b608..17030c0 100644
--- a/lib/kmxgit_web/controllers/repository_controller.ex
+++ b/lib/kmxgit_web/controllers/repository_controller.ex
@@ -462,6 +462,7 @@ defmodule KmxgitWeb.RepositoryController do
         |> assign(:changeset, changeset)
         |> assign_current_organisation(owner)
         |> assign(:owner, owner)
+        |> assign(:public_access, changeset.public_access)
         |> render("new.html")
     end
   end