         newResult = _.map result, (obj) ->
           hasVoted = if _.find(obj.children, { user_id: userId })? then true else false
           return _.assign obj, userHasVotedFor: hasVoted
-        return res.status(200).json newResult
+        return res.status(200).json partialResponse(newResult)
   )
 
 # GET /api/bands/:id
 exports.show = (req, res) ->
   Band.findById req.params.id, (err, result) ->
     return res.status(500).json error: err if err?
-    return res.status(200).json result
+    return res.status(200).json partialResponse(result)
 
 # POST /api/bands
 exports.create = (req, res) ->

_ = require 'lodash'
Band = require '../models/band'
Vote = require '../models/vote'

getIpAddress = (ipObj) ->
  if ipObj?
    ipObj.clientIp

    user_ip_address: getIpAddress(req.session.ipAddress)
  new Vote(data).save (err, result) ->
    return res.status(500).json error: err if err?
    return res.status(200).json partialResponse(result)

# PUT /api/bands/:id
exports.update = (req, res) ->
