adding a link for undoing things to rails