File tree Expand file tree Collapse file tree 5 files changed +9
-18
lines changed Expand file tree Collapse file tree 5 files changed +9
-18
lines changed File renamed without changes.
File renamed without changes.
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,11 +6,16 @@ package setting
6
6
import (
7
7
"net/http"
8
8
9
+ "code.gitea.io/gitea/modules/base"
9
10
"code.gitea.io/gitea/modules/context"
10
11
"code.gitea.io/gitea/modules/setting"
11
12
shared "code.gitea.io/gitea/routers/web/shared/secrets"
12
13
)
13
14
15
+ const (
16
+ tplSettingsActions base.TplName = "user/settings/actions"
17
+ )
18
+
14
19
func Secrets (ctx * context.Context ) {
15
20
ctx .Data ["Title" ] = ctx .Tr ("actions.actions" )
16
21
ctx .Data ["PageType" ] = "secrets"
@@ -39,3 +44,7 @@ func SecretsDelete(ctx *context.Context) {
39
44
setting .AppSubURL + "/user/settings/actions/secrets" ,
40
45
)
41
46
}
47
+
48
+ func RedirectToDefaultSetting (ctx * context.Context ) {
49
+ ctx .Redirect (setting .AppSubURL + "/user/settings/actions/secrets" )
50
+ }
You can’t perform that action at this time.
0 commit comments