gitlab-org--gitlab-foss/app/models/dashboard_milestone.rb

16 lines
241 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class DashboardMilestone < GlobalMilestone
attr_reader :project_name
def initialize(milestone)
super
@project_name = milestone.project.full_name
end
2017-07-07 11:08:49 -04:00
def project_milestone?
2017-07-07 11:08:49 -04:00
true
end
end