links to show page from index, makes method