(refs #10) Add notification of when merged.

This commit is contained in:
shimamoto
2013-09-04 10:40:44 +09:00
parent 3fc0fa5a02
commit 3c0681d55d

View File

@@ -155,6 +155,11 @@ trait PullRequestsControllerBase extends ControllerBase {
}
}
// notifications
Notifier().toNotify(repository, issueId, "merge"){
Notifier.msgStatus(s"${baseUrl}/${repository.owner}/${repository.name}/pull/${issueId}")
}
redirect(s"/${repository.owner}/${repository.name}/pull/${issueId}")
} finally {