debian-mirror-gitlab/app/models/epic.rb

22 lines
406 B
Ruby
Raw Normal View History

2018-11-18 11:00:15 +05:30
# frozen_string_literal: true
2018-03-17 18:26:18 +05:30
# Placeholder class for model that is implemented in EE
2020-05-24 23:13:21 +05:30
# It reserves '&' as a reference prefix, but the table does not exist in FOSS
2019-07-07 11:18:12 +05:30
class Epic < ApplicationRecord
2020-01-01 13:55:28 +05:30
include IgnorableColumns
2018-12-05 23:21:45 +05:30
def self.link_reference_pattern
nil
end
2018-03-17 18:26:18 +05:30
def self.reference_prefix
'&'
end
def self.reference_prefix_escaped
'&amp;'
end
end
2019-12-04 20:38:33 +05:30
Epic.prepend_if_ee('EE::Epic')