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

4 lines
83 B

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