add link_to method to link to show/index