/*
 * Controllers
 */

var homeController     = require('../controllers/home_controller');
var pivotalController  = require('../controllers/pivotal_controller');
var authController     = require('../controllers/authentication_controller');
var userController     = require('../controllers/user_controller');
var gameController     = require('../controllers/game_controller');

/*
 * Routes
 */

module.exports = function(app, passport){

  var authenticate = authController.setUp(authController, passport);

  app.get('/', homeController.index);

  app.post('/login', authenticate);
  app.get('/logout', authController.logout);

  app.get('/api/v1/me', userController.me);

  app.get('/api/v1/projects',     pivotalController.projects);

  app.get('/api/v1/projects/:project/tasks',     pivotalController.tasks);
  app.get('/api/v1/projects/:project/tasks/:id', pivotalController.task);

  app.get('/api/v1/project/games',  gameController.index);
  app.put('/api/v1/project/games/:id', gameController.create);
};

@@ -947,17 +947,18 @@
 %0A  app.p
-u
+os
 t('/api/
@@ -1004,11 +1004,74 @@
 reate);%0A
+  app.put('/api/v1/project/games/:id', gameController.update);%0A
 %7D;%0A

Update route