aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/setting.go
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2016-11-07 17:08:21 +0100
committerSandro Santilli <strk@kbt.io>2016-11-07 17:08:21 +0100
commit0b62aeb495c9c1daf816a754a0e4abbf8c62c2c0 (patch)
tree7ec5e31249bca75a1a288c7b6ac2e4d2a10a1f79 /routers/repo/setting.go
parent80eea77953ab5f1f12e1a01f1930b72c360a5c76 (diff)
downloadgitea-0b62aeb495c9c1daf816a754a0e4abbf8c62c2c0.tar.gz
gitea-0b62aeb495c9c1daf816a754a0e4abbf8c62c2c0.zip
More MixedCase consts
Diffstat (limited to 'routers/repo/setting.go')
-rw-r--r--routers/repo/setting.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/repo/setting.go b/routers/repo/setting.go
index eab02e52f1..a97f8f71fc 100644
--- a/routers/repo/setting.go
+++ b/routers/repo/setting.go
@@ -22,7 +22,7 @@ const (
SETTINGS_OPTIONS base.TplName = "repo/settings/options"
COLLABORATION base.TplName = "repo/settings/collaboration"
GITHOOKS base.TplName = "repo/settings/githooks"
- GITHOOK_EDIT base.TplName = "repo/settings/githook_edit"
+ GithookEdit base.TplName = "repo/settings/githook_edit"
DEPLOY_KEYS base.TplName = "repo/settings/deploy_keys"
)
@@ -425,7 +425,7 @@ func GitHooksEdit(ctx *context.Context) {
return
}
ctx.Data["Hook"] = hook
- ctx.HTML(200, GITHOOK_EDIT)
+ ctx.HTML(200, GithookEdit)
}
func GitHooksEditPost(ctx *context.Context) {