Reimplementation of link_to