debian-mirror-gitlab/app/models/vulnerability.rb
2021-03-11 19:13:27 +05:30

20 lines
338 B
Ruby

# frozen_string_literal: true
# Placeholder class for model that is implemented in EE
class Vulnerability < ApplicationRecord
include IgnorableColumns
def self.link_reference_pattern
nil
end
def self.reference_prefix
'[vulnerability:'
end
def self.reference_postfix
']'
end
end
Vulnerability.prepend_ee_mod