Golint fixed for modules/setting (#262)

* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket
This commit is contained in:
Lunny Xiao authored and GitHub committed 2016-11-27 18:14:25 +08:00
1 parent 0a76d260fa
commit 94da472717
38 files changed
+178 -167

No files matched your search

+1 -1
View File
@@ -49,6 +49,6 @@ func DeleteRepo(ctx *context.Context) {
ctx.Flash.Success(ctx.Tr("repo.settings.deletion_success"))
ctx.JSON(200, map[string]interface{}{
"redirect": setting.AppSubUrl + "/admin/repos?page=" + ctx.Query("page"),
"redirect": setting.AppSubURL + "/admin/repos?page=" + ctx.Query("page"),
})
}