mirror of
				https://github.com/gitbucket/gitbucket.git
				synced 2025-11-03 20:15:59 +01:00 
			
		
		
		
	(refs #10) Add notification of when merged.
This commit is contained in:
		@@ -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 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user