add link finder
This commit is contained in:
parent
52b51c972d
commit
60992cf1fb
|
@ -137,3 +137,7 @@ end
|
||||||
def refind_object(object)
|
def refind_object(object)
|
||||||
object.class.find(object.id)
|
object.class.find(object.id)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def find_semantic_link(link)
|
||||||
|
find("[data-link='#{link}']")
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue