Commit 909538bb098fc9aba258a7df954db9ab0d809a58

Thomas de Grivel 2024-05-14T16:01:50

public access

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 3a250ca..a38534a 100644
--- a/lib/kmxgit_web/controllers/repository_controller.ex
+++ b/lib/kmxgit_web/controllers/repository_controller.ex
@@ -963,6 +963,7 @@ defmodule KmxgitWeb.RepositoryController do
       |> assign(:git, git)
       |> assign(:log, git.log)
       |> assign(:path, path)
+      |> assign(:public_access, public_access)
       |> assign(:repo, repo)
       |> render("log.html")
     else