diff --git a/app/views/votes/_votes.html.erb b/app/views/votes/_votes.html.erb index bde222092..ddf2f9d5b 100644 --- a/app/views/votes/_votes.html.erb +++ b/app/views/votes/_votes.html.erb @@ -1,7 +1,7 @@
- <%= link_to debate_votes_path(@debate, value: 'yes'), class: 'in-favor', method: "post" do %> + <%= link_to debate_votes_path(@debate, value: 'yes'), class: 'in-favor', method: "post", remote: true do %> <%= percentage('likes', @debate) %> <% end %> @@ -10,7 +10,7 @@
- <%= link_to debate_votes_path(@debate, value: 'no'), class: 'against', method: "post" do %> + <%= link_to debate_votes_path(@debate, value: 'no'), class: 'against', method: "post", remote: true do %> <%= percentage('dislikes', @debate) %> <% end %>