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

21 lines
338 B
Ruby
Raw Normal View History

2020-11-24 15:15:51 +05:30
# frozen_string_literal: true
# Placeholder class for model that is implemented in EE
class Vulnerability < ApplicationRecord
2021-01-29 00:20:46 +05:30
include IgnorableColumns
def self.link_reference_pattern
nil
end
def self.reference_prefix
'[vulnerability:'
end
def self.reference_postfix
']'
end
2020-11-24 15:15:51 +05:30
end
2021-03-11 19:13:27 +05:30
Vulnerability.prepend_ee_mod