debian-mirror-gitlab/app/models/epic.rb
2020-08-09 17:44:08 +05:30

21 lines
406 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
include IgnorableColumns
def self.link_reference_pattern
nil
end
def self.reference_prefix
'&'
end
def self.reference_prefix_escaped
'&amp;'
end
end
Epic.prepend_if_ee('EE::Epic')