diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-28 12:08:10 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-28 12:08:10 +0000 |
commit | a83a97f60432c6c352af80d55339e9fe45b63307 (patch) | |
tree | 40a0ef7fb93580a5ef4b5417c27efab9b2d13b72 /app/models/dashboard_milestone.rb | |
parent | 4c788f43cbcd70bcceb4e40891d329952aa016d0 (diff) | |
download | gitlab-ce-a83a97f60432c6c352af80d55339e9fe45b63307.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/dashboard_milestone.rb')
-rw-r--r-- | app/models/dashboard_milestone.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/app/models/dashboard_milestone.rb b/app/models/dashboard_milestone.rb deleted file mode 100644 index fd59b94b737..00000000000 --- a/app/models/dashboard_milestone.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -class DashboardMilestone < GlobalMilestone - attr_reader :project_name - - def initialize(milestone) - super - - @project_name = milestone.project.full_name - end - - def project_milestone? - true - end - - def merge_requests_enabled? - project.merge_requests_enabled? - end -end |