changing link_to -> button_to for post requests