diff options
Diffstat (limited to 'routers/web/repo')
-rw-r--r-- | routers/web/repo/http.go | 2 | ||||
-rw-r--r-- | routers/web/repo/issue.go | 2 | ||||
-rw-r--r-- | routers/web/repo/view.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/routers/web/repo/http.go b/routers/web/repo/http.go index 649d6d1eb1..3390f026a0 100644 --- a/routers/web/repo/http.go +++ b/routers/web/repo/http.go @@ -32,7 +32,7 @@ import ( repo_service "code.gitea.io/gitea/services/repository" ) -// httpBase implmentation git smart HTTP protocol +// httpBase implementation git smart HTTP protocol func httpBase(ctx *context.Context) (h *serviceHandler) { if setting.Repository.DisableHTTPGit { ctx.Resp.WriteHeader(http.StatusForbidden) diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go index 9ef5c1d1f0..9639ea8201 100644 --- a/routers/web/repo/issue.go +++ b/routers/web/repo/issue.go @@ -831,7 +831,7 @@ func NewIssueChooseTemplate(ctx *context.Context) { ctx.HTML(http.StatusOK, tplIssueChoose) } -// ValidateRepoMetas check and returns repository's meta informations +// ValidateRepoMetas check and returns repository's meta information func ValidateRepoMetas(ctx *context.Context, form forms.CreateIssueForm, isPull bool) ([]int64, []int64, int64, int64) { var ( repo = ctx.Repo.Repository diff --git a/routers/web/repo/view.go b/routers/web/repo/view.go index 90d06d11c1..cf076bdf1a 100644 --- a/routers/web/repo/view.go +++ b/routers/web/repo/view.go @@ -751,7 +751,7 @@ func renderCode(ctx *context.Context) { ctx.HTML(http.StatusOK, tplRepoHome) } -// RenderUserCards render a page show users according the input templaet +// RenderUserCards render a page show users according the input template func RenderUserCards(ctx *context.Context, total int, getter func(opts models.ListOptions) ([]*models.User, error), tpl base.TplName) { page := ctx.QueryInt("page") if page <= 0 { |