e9ef02096b
One of the steps to deprecate dashboard milestones. Links do dashboard milestone are replaced with links for each project milestone
15 lines
241 B
Ruby
15 lines
241 B
Ruby
# 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
|
|
end
|