app/models/milestone.rb
# Represents a "No Milestone" state used for filtering Issues and Merge
# Requests that have no milestone assigned.
Represents a "No Milestone" state used for filtering Issues and Merge
Requests that have no milestone assigned.
Represents a " No Milestone " state used for filtering Issues and Merge Requests that have no milestone assigned .
def to_reference(from_project = nil)
    escaped_title = self.title.gsub("]", "\\]")
    h = Gitlab::Routing.url_helpers
    url = h.namespace_project_milestone_url(self.project.namespace, self.project, self)
    "[#{escaped_title}](#{url})"
  end
def to_reference ( from_project = nil ) escaped_title = self . title . gsub ( "]" , "\\]" ) h = Gitlab :: Routing . url_helpers url = h . namespace_project_milestone_url ( self . project . namespace , self . project , self ) "[#{escaped_title}](#{url})" end
Represents a "No Milestone" state used for filtering Issues and Merge
Requests that have no milestone assigned.
Represents a " No Milestone " state used for filtering Issues and Merge Requests that have no milestone assigned .
from_project