From fcefce80f1a0c157941cd3153b1580a3a42b4efd Mon Sep 17 00:00:00 2001 From: domi41 Date: Tue, 22 Jun 2021 22:05:41 +0200 Subject: [PATCH] fix: typo --- routers/repo/poll.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/repo/poll.go b/routers/repo/poll.go index cca4d9326..d793a85a3 100644 --- a/routers/repo/poll.go +++ b/routers/repo/poll.go @@ -170,7 +170,7 @@ func EditPollPost(ctx *context.Context) { ctx.Redirect(ctx.Repo.RepoLink + "/polls") } -// DeletePoll delete a poll and redirects +// DeletePoll deletes a poll and redirects func DeletePoll(ctx *context.Context) { if err := models.DeletePollByRepoID(ctx.Repo.Repository.ID, ctx.ParamsInt64(":id")); err != nil { ctx.Flash.Error("DeletePollByRepoID: " + err.Error())