educoder/app/views/polls/create.json.jbuilder

4 lines
70 B

json.partial! "commons/success"
json.data do
json.id @poll.id
end