7 lines
153 B
Plaintext
7 lines
153 B
Plaintext
{
|
|
"message" : "Vote Counted",
|
|
"upCount" : <%= @candidate.votes.yea.count %>,
|
|
"downCount" : <%= @candidate.votes.nay.count %>,
|
|
"myVote" : "yea"
|
|
}
|