summaryrefslogtreecommitdiff
path: root/app/models/dashboard_milestone.rb
blob: 9b377b70e5b90508490e9984630e24feef8cf525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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