modified links to use link_to and fixed a issue with answer edits