Skip to content

Commit

Permalink
Merge a229edb into 5881d61
Browse files Browse the repository at this point in the history
  • Loading branch information
namangupta01 committed Mar 20, 2018
2 parents 5881d61 + a229edb commit 23e1d92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/projects/_like_toggle.js.erb
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
$("#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 %>');

0 comments on commit 23e1d92

Please sign in to comment.