Commit 9d066bc9 authored by Douwe Maan's avatar Douwe Maan

Raise error when a ReferenceFilter doesn't implement referenced_by

parent e6419cec
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment