Skip to content

Commit 7e1b786

Browse files
committed
rename
Signed-off-by: a1012112796 <[email protected]>
1 parent 8a98856 commit 7e1b786

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

routers/web/repo/projects.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,8 +579,8 @@ func SetDefaultProjectColumn(ctx *context.Context) {
579579
ctx.JSONOK()
580580
}
581581

582-
// MoveBoardForIssue move a issue to other board
583-
func MoveBoardForIssue(ctx *context.Context) {
582+
// MoveColumnForIssue move a issue to other board
583+
func MoveColumnForIssue(ctx *context.Context) {
584584
if ctx.Doer == nil {
585585
ctx.JSON(http.StatusForbidden, map[string]string{
586586
"message": "Only signed in users are allowed to perform this action.",

routers/web/web.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ func registerRoutes(m *web.Route) {
12121212
m.Post("/lock", reqRepoIssuesOrPullsWriter, web.Bind(forms.IssueLockForm{}), repo.LockIssue)
12131213
m.Post("/unlock", reqRepoIssuesOrPullsWriter, repo.UnlockIssue)
12141214
m.Post("/delete", reqRepoAdmin, repo.DeleteIssue)
1215-
m.Post("/move_project_column/{columnID}", repo.MoveBoardForIssue)
1215+
m.Post("/move_project_column/{columnID}", repo.MoveColumnForIssue)
12161216
}, context.RepoMustNotBeArchived())
12171217

12181218
m.Group("/{index}", func() {

0 commit comments

Comments
 (0)