Update linkTo to work if block is not provided