From ad0e578f2a80d24d3ce07e47a539691882fe3588 Mon Sep 17 00:00:00 2001 From: rgarcia Date: Thu, 30 Jul 2015 18:43:28 +0200 Subject: [PATCH] renders votes partial on ajax request [#47] --- app/views/votes/create.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/votes/create.js.erb b/app/views/votes/create.js.erb index 55733e509..5e855e40e 100644 --- a/app/views/votes/create.js.erb +++ b/app/views/votes/create.js.erb @@ -1 +1 @@ -$("#votes").html("<%= j render('vote') %>"); \ No newline at end of file +$("#votes").html("<%= j render('votes') %>"); \ No newline at end of file