Use button_to instead of link_to with method: 'post'.