Raise error when a ReferenceFilter doesn't implement referenced_by

This commit is contained in:
Douwe Maan 2015-10-08 13:00:15 +02:00
parent e6419cecf4
commit 9d066bc941
1 changed files with 1 additions and 1 deletions

View File

@ -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