return json

This commit is contained in:
Rimian Perkins 2017-02-02 13:11:10 +11:00
parent 35ac1bc3c3
commit fd52e67026
1 changed files with 1 additions and 5 deletions

View File

@ -21,11 +21,7 @@ module Choice
BadgeGranter.grant(badge, current_user)
respond_to do |format|
format.html
format.js
format.json { render :json => { status: 'OK' } }
end
render :json => { status: 'OK' }
end
end
end