Skip to content
Snippets Groups Projects
Commit 9d066bc9 authored by Douwe Maan's avatar Douwe Maan
Browse files

Raise error when a ReferenceFilter doesn't implement referenced_by

parent e6419cec
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment