gitlab-org--gitlab-foss/app/models/epic.rb

22 lines
405 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2017-11-01 13:35:14 -04:00
# 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;'
2017-11-01 13:35:14 -04:00
end
end
Epic.prepend_mod_with('Epic')