Add findPath method to routes