(refs #254)Store removed branch name into CONTENT column of COMMENT table.

This commit is contained in:
takezoe
2014-02-04 17:06:54 +09:00
parent c2eb53d154
commit 9d7235af20

View File

@@ -113,7 +113,7 @@ trait PullRequestsControllerBase extends ControllerBase {
recordDeleteBranchActivity(repository.owner, repository.name, userName, branchName) recordDeleteBranchActivity(repository.owner, repository.name, userName, branchName)
} }
} }
createComment(repository.owner, repository.name, userName, issueId, "Delete branch", "delete") createComment(repository.owner, repository.name, userName, issueId, branchName, "delete")
redirect(s"/${repository.owner}/${repository.name}/pull/${issueId}") redirect(s"/${repository.owner}/${repository.name}/pull/${issueId}")
} getOrElse NotFound } getOrElse NotFound
}) })