summaryrefslogtreecommitdiffstats
path: root/routers/web/admin/runners.go
blob: d73290a8dba80cbfbae565c82879f09e46568c2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2022 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT

package admin

import (
	"code.gitea.io/gitea/modules/setting"
	"code.gitea.io/gitea/services/context"
)

func RedirectToDefaultSetting(ctx *context.Context) {
	ctx.Redirect(setting.AppSubURL + "/admin/actions/runners")
}