extract url from link_to helper