module.exports = model('Journey')
  .route(config.api_url() + '/journeys')
  .attr('_id')
  .attr('created_by')
  .attr('locations')