summaryrefslogtreecommitdiff
path: root/app/models/dashboard_group_milestone.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-07 21:06:14 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-07 21:06:14 +0000
commitc324100967bbdd3f2f0ca3406c9261d35e69f148 (patch)
treeecfd5d521d90792cbc922309e6930b1ba2badff6 /app/models/dashboard_group_milestone.rb
parentd8ccc7a00b7a1ea954263170a2044257424a2cfe (diff)
downloadgitlab-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.rb4
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