(refs #529)Mentioned filter

This commit is contained in:
Naoki Takezoe
2014-11-03 04:35:41 +09:00
parent badbe73f4e
commit 1c2af36c92
4 changed files with 23 additions and 7 deletions

View File

@@ -24,6 +24,10 @@ trait DashboardControllerBase extends ControllerBase {
searchIssues("created_by")
})
get("/dashboard/issues/mentioned")(usersOnly {
searchIssues("mentioned")
})
get("/dashboard/pulls")(usersOnly {
searchPullRequests("created_by", None)
})
@@ -32,6 +36,10 @@ trait DashboardControllerBase extends ControllerBase {
searchPullRequests("created_by", None)
})
get("/dashboard/pulls/mentioned")(usersOnly {
searchPullRequests("mentioned", None)
})
get("/dashboard/pulls/public")(usersOnly {
searchPullRequests("not_created_by", None)
})