mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-03 03:55:58 +01:00
MilestonesService provides a method which returns milestones with issue count.
This commit is contained in:
@@ -28,8 +28,7 @@ trait MilestonesControllerBase extends ControllerBase {
|
||||
|
||||
getRepository(owner, repository, baseUrl).map { repositoryInfo =>
|
||||
issues.html.milestones(state,
|
||||
getMilestones(owner, repository),
|
||||
getMilestoneIssueCounts(owner, repository),
|
||||
getMilestonesWithIssueCount(owner, repository),
|
||||
repositoryInfo,
|
||||
isWritable(owner, repository, context.loginAccount))
|
||||
} getOrElse NotFound
|
||||
|
||||
Reference in New Issue
Block a user