return json
This commit is contained in:
parent
35ac1bc3c3
commit
fd52e67026
|
|
@ -21,11 +21,7 @@ module Choice
|
||||||
|
|
||||||
BadgeGranter.grant(badge, current_user)
|
BadgeGranter.grant(badge, current_user)
|
||||||
|
|
||||||
respond_to do |format|
|
render :json => { status: 'OK' }
|
||||||
format.html
|
|
||||||
format.js
|
|
||||||
format.json { render :json => { status: 'OK' } }
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue