diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-07 21:06:14 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-07 21:06:14 +0000 |
commit | c324100967bbdd3f2f0ca3406c9261d35e69f148 (patch) | |
tree | ecfd5d521d90792cbc922309e6930b1ba2badff6 /app/models/dashboard_group_milestone.rb | |
parent | d8ccc7a00b7a1ea954263170a2044257424a2cfe (diff) | |
download | gitlab-ce-c324100967bbdd3f2f0ca3406c9261d35e69f148.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/dashboard_group_milestone.rb')
-rw-r--r-- | app/models/dashboard_group_milestone.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/dashboard_group_milestone.rb b/app/models/dashboard_group_milestone.rb index ec52f1ed370..cf6094682f3 100644 --- a/app/models/dashboard_group_milestone.rb +++ b/app/models/dashboard_group_milestone.rb @@ -18,4 +18,8 @@ class DashboardGroupMilestone < GlobalMilestone milestones = milestones.search_title(params[:search_title]) if params[:search_title].present? Milestone.filter_by_state(milestones, params[:state]).map { |m| new(m) } end + + def dashboard_milestone? + true + end end |