mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-10 01:31:45 +00:00
20 lines
377 B
Ruby
20 lines
377 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Placeholder class for model that is implemented in EE
|
|
# It reserves '&' as a reference prefix, but the table does not exist in FOSS
|
|
class Epic < ApplicationRecord
|
|
def self.link_reference_pattern
|
|
nil
|
|
end
|
|
|
|
def self.reference_prefix
|
|
'&'
|
|
end
|
|
|
|
def self.reference_prefix_escaped
|
|
'&'
|
|
end
|
|
end
|
|
|
|
Epic.prepend_mod_with('Epic')
|