Closed goamaral closed 7 years ago
OK so i removed the unnecessary get request and fixed the vote page cases that weren't previously covered. And the POST request response was given by rendering a partial as you suggested. Btw good call, makes the code far cleaner.
Updated code based on suggestions
This is great! Thank you 👍 I'll try getting this deployed soon. Fixes #1.
Applied Ajax on the vote boxes and made them disabled after voting. Added new Route to get vote score.