skill-assessment-app/app/views/admin/vote/down.json.erb

7 lines
153 B
Plaintext
Raw Normal View History

2016-11-30 19:00:42 -06:00
{
"message" : "Vote Counted",
"upCount" : <%= @candidate.votes.yea.count %>,
"downCount" : <%= @candidate.votes.nay.count %>,
"myVote" : "nay"
}