summaryrefslogtreecommitdiffstats
path: root/routers/web/org/setting/runners.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--routers/web/org/setting/runners.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/routers/web/org/setting/runners.go b/routers/web/org/setting/runners.go
new file mode 100644
index 0000000..fe05709
--- /dev/null
+++ b/routers/web/org/setting/runners.go
@@ -0,0 +1,12 @@
+// Copyright 2022 The Gitea Authors. All rights reserved.
+// SPDX-License-Identifier: MIT
+
+package setting
+
+import (
+ "code.gitea.io/gitea/services/context"
+)
+
+func RedirectToDefaultSetting(ctx *context.Context) {
+ ctx.Redirect(ctx.Org.OrgLink + "/settings/actions/runners")
+}