diff options
author | Unknwon <u@gogs.io> | 2016-08-24 21:35:03 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-24 21:35:03 -0700 |
commit | f8a48ffaad481ee9eaa8a42e0e7d64c12c90ef86 (patch) | |
tree | 21ee3e7965c77c16fcdaa209f01cebae6a809625 /modules/auth | |
parent | 67fb0fe6a5783f772abfb5438a154435dafff4de (diff) | |
download | gitea-f8a48ffaad481ee9eaa8a42e0e7d64c12c90ef86.tar.gz gitea-f8a48ffaad481ee9eaa8a42e0e7d64c12c90ef86.zip |
Web editor: improve code quality
Diffstat (limited to 'modules/auth')
-rw-r--r-- | modules/auth/repo_form.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 2eaefc5442..e9e60c672f 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -278,7 +278,7 @@ func (f *NewWikiForm) Validate(ctx *macaron.Context, errs binding.Errors) bindin // \/ \/ type EditRepoFileForm struct { - TreeName string `binding:"Required;MaxSize(500)"` + TreePath string `binding:"Required;MaxSize(500)"` Content string `binding:"Required"` CommitSummary string `binding:"MaxSize(100)` CommitMessage string |