Raise error when a ReferenceFilter doesn't implement referenced_by
This commit is contained in:
parent
e6419cecf4
commit
9d066bc941
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ module Gitlab
|
|||
end
|
||||
|
||||
def self.referenced_by(node)
|
||||
nil
|
||||
raise NotImplementedError, "#{self} does not implement #{__method__}"
|
||||
end
|
||||
|
||||
# Returns a data attribute String to attach to a reference link
|
||||
|
|
Loading…
Reference in a new issue