master
$("#like-<%= @project.id %>").toggle(); $("#dislike-<%= @project.id %>").toggle(); $('input[name="authenticity_token"]').val('<%= form_authenticity_token %>'); $('meta[name="csrf-token"]').attr('content','<%= form_authenticity_token %>');