normalise some json responses
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{ "message" : "Email queued!" }
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"message" : "Interview requested!",
|
||||
"requestCopy" : "Requested",
|
||||
"declineCopy" : "Decline Interview"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"message" : "Interview declined.",
|
||||
"requestCopy" : "Request Interview",
|
||||
"declineCopy" : "Declined"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"message" : "Vote Counted",
|
||||
"upCount" : <%= @candidate.votes.yea.count %>,
|
||||
"downCount" : <%= @candidate.votes.nay.count %>,
|
||||
"myVote" : "nay"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"message" : "Vote Counted",
|
||||
"upCount" : <%= @candidate.votes.yea.count %>,
|
||||
"downCount" : <%= @candidate.votes.nay.count %>,
|
||||
"myVote" : "yea"
|
||||
}
|
||||
Reference in New Issue
Block a user