diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-05 23:59:17 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-05 23:59:17 +0800 |
commit | 0c0062b22ff4ddac9cf8c4ef84116eddba99bce2 (patch) | |
tree | 2d1790cdf42b0dcdb3f82f77cea2b86fb7a42120 /http_handle_branches.go | |
parent | scfg: Remove tests for now (diff) | |
download | forge-0c0062b22ff4ddac9cf8c4ef84116eddba99bce2.tar.gz forge-0c0062b22ff4ddac9cf8c4ef84116eddba99bce2.tar.zst forge-0c0062b22ff4ddac9cf8c4ef84116eddba99bce2.zip |
templates shall no longer be a global variable
Diffstat (limited to 'http_handle_branches.go')
-rw-r--r-- | http_handle_branches.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_branches.go b/http_handle_branches.go index 659287f..7709d4e 100644 --- a/http_handle_branches.go +++ b/http_handle_branches.go @@ -42,5 +42,5 @@ func (s *Server) httpHandleRepoBranches(writer http.ResponseWriter, _ *http.Requ params["ssh_clone_url"] = s.genSSHRemoteURL(groupPath, repoName) params["notes"] = notes - renderTemplate(writer, "repo_branches", params) + s.renderTemplate(writer, "repo_branches", params) } |