<commit_before>/*
 * 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');

/*
 * 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);
};<commit_msg>Invoque game controller<commit_after>/*
 * 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/projects/:id/games', gameController.index);
};
{'fraction_non_alphanumeric': 0.1708378672470076, 'fraction_numerical': 0.004896626768226333, 'mean_word_length': 4.555891238670695, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1405323', 'n_tokens_mistral': 571, 'n_tokens_neox': 549, 'n_words': 79}