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