const Router = require('koa-router')
const middleware = require('../../utils/middleware')

module.exports = UsersController
function UsersController () {
  const auth = middleware.authenticate()
  const routes = new Router()
  .get(
    '/api/users/current',
    auth,
    UsersController.current
  )

  return routes.middleware()
}

/**
 * GET /users/current
 * Returns current user model
 */
UsersController.current = function* current () {
  this.body = this.state.user
}

@@ -216,16 +216,40 @@
  Router(
+%7B%0A    prefix: '/api'%0A  %7D
 )%0A  .get
@@ -260,12 +260,8 @@
   '/
-api/
 user
@@ -358,16 +358,20 @@
 %0A * GET 
+/api
 /users/c

Update users controller