return json
This commit is contained in:
parent
35ac1bc3c3
commit
fd52e67026
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue