Pass a ref into the url property