debian-mirror-gitlab/app/models/dashboard_milestone.rb

16 lines
241 B
Ruby
Raw Normal View History

2018-11-18 11:00:15 +05:30
# frozen_string_literal: true
2017-08-17 22:00:37 +05:30
class DashboardMilestone < GlobalMilestone
2019-02-15 15:39:39 +05:30
attr_reader :project_name
def initialize(milestone)
super
@project_name = milestone.project.full_name
2017-08-17 22:00:37 +05:30
end
2017-09-10 17:25:29 +05:30
2019-02-15 15:39:39 +05:30
def project_milestone?
2017-09-10 17:25:29 +05:30
true
end
2017-08-17 22:00:37 +05:30
end