mirror of
				https://github.com/gitbucket/gitbucket.git
				synced 2025-11-03 20:15:59 +01:00 
			
		
		
		
	Fix pull request's view on dashboard
This commit is contained in:
		@@ -29,21 +29,25 @@ trait DashboardControllerBase extends ControllerBase {
 | 
			
		||||
  })
 | 
			
		||||
 | 
			
		||||
  get("/dashboard/pulls")(usersOnly {
 | 
			
		||||
    searchPullRequests("all", None)
 | 
			
		||||
  })
 | 
			
		||||
 | 
			
		||||
  get("/dashboard/pulls/all")(usersOnly {
 | 
			
		||||
    searchPullRequests("all", None)
 | 
			
		||||
  })
 | 
			
		||||
 | 
			
		||||
  get("/dashboard/pulls/created_by")(usersOnly {
 | 
			
		||||
    searchPullRequests("created_by", None)
 | 
			
		||||
  })
 | 
			
		||||
 | 
			
		||||
  get("/dashboard/pulls/owned")(usersOnly {
 | 
			
		||||
    searchPullRequests("created_by", None)
 | 
			
		||||
  get("/dashboard/pulls/assigned")(usersOnly {
 | 
			
		||||
    searchPullRequests("assigned", None)
 | 
			
		||||
  })
 | 
			
		||||
 | 
			
		||||
  get("/dashboard/pulls/mentioned")(usersOnly {
 | 
			
		||||
    searchPullRequests("mentioned", None)
 | 
			
		||||
  })
 | 
			
		||||
 | 
			
		||||
  get("/dashboard/pulls/public")(usersOnly {
 | 
			
		||||
    searchPullRequests("not_created_by", None)
 | 
			
		||||
  })
 | 
			
		||||
 | 
			
		||||
  get("/dashboard/pulls/for/:owner/:repository")(usersOnly {
 | 
			
		||||
    searchPullRequests("all", Some(params("owner") + "/" + params("repository")))
 | 
			
		||||
  })
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user