Disable link capture if this link is not a valid route
better method name
cute demo
getRouteElementId and getRouteContentFor implementation