]> source.dussan.org Git - gitea.git/commit
[refactor] Use const for wiki DefaultBranch (#21466)
author6543 <6543@obermui.de>
Sat, 15 Oct 2022 14:40:32 +0000 (16:40 +0200)
committerGitHub <noreply@github.com>
Sat, 15 Oct 2022 14:40:32 +0000 (16:40 +0200)
commita33ff822ffc84b0d99d122ca9dabfedc583e9f8c
tree4b5b2af3c3d19e745aea52767ef05b07ad1d46e4
parent677af6ac57295a9e8795a8ab3f29e284f2247fb6
[refactor] Use const for wiki DefaultBranch (#21466)

just a nit, that will make it easier to change things and we now have a
single source of truth
routers/web/repo/wiki.go
services/wiki/wiki.go
services/wiki/wiki_test.go