Corrected the link_to method