提交 9d066bc9 编写于 作者: D Douwe Maan

Raise error when a ReferenceFilter doesn't implement referenced_by

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册