Adds hasRoute to router