We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e22aedf commit 984c0aeCopy full SHA for 984c0ae
routers/web/repo/release.go
@@ -199,6 +199,7 @@ func Releases(ctx *context.Context) {
199
200
// TagsList render tags list page
201
func TagsList(ctx *context.Context) {
202
+ // The tag list page will be enabled only when user cannot visit releases page.
203
if ctx.Repo.CanRead(unit.TypeReleases) {
204
ctx.Redirect(fmt.Sprintf("%s/releases", ctx.Repo.RepoLink))
205
return
0 commit comments