/**
 * Route Mappings
 * (sails.config.routes)
 *
 * Your routes map URLs to views and controllers.
 *
 * If Sails receives a URL that doesn't match any of the routes below,
 * it will check for matching files (images, scripts, stylesheets, etc.)
 * in your assets directory.  e.g. `http://localhost:1337/images/foo.jpg`
 * might match an image file: `/assets/images/foo.jpg`
 *
 * Finally, if those don't match either, the default 404 handler is triggered.
 * See `api/responses/notFound.js` to adjust your app's 404 logic.
 *
 * Note: Sails doesn't ACTUALLY serve stuff from `assets`-- the default Gruntfile in Sails copies
 * flat files from `assets` to `.tmp/public`.  This allows you to do things like compile LESS or
 * CoffeeScript for the front-end.
 *
 * For more information on configuring custom routes, check out:
 * http://sailsjs.org/#/documentation/concepts/Routes/RouteTargetSyntax.html
 */

module.exports.routes = {

  /***************************************************************************
  *                                                                          *
  * Make the view located at `views/homepage.ejs` (or `views/homepage.jade`, *
  * etc. depending on your default view engine) your home page.              *
  *                                                                          *
  * (Alternatively, remove this and add an `index.html` file in your         *
  * `assets` directory)                                                      *
  *                                                                          *
  ***************************************************************************/

  'GET /': {
    view: 'homepage'
  },

  'GET /teams': 'TeamController.boFind',
  'GET /teams/new': 'TeamController.boNew',
  'GET /teams/:id': 'TeamController.boFindOne',

  'GET /matches': 'MatchController.boFind',
  'GET /matches/new': 'MatchController.boNew',
  'GET /matches/:id': 'MatchController.boFindOne',

  'GET /users': 'UserController.boFind',
  'GET /users/new': 'UserController.boNew',
  'GET /users/:id': 'UserController.boFindOne',

  'GET /bets': 'BetController.boFind',
  'GET /bets/new': 'BetController.boNew',
  'GET /bets/:id': 'BetController.boFindOne'

  /***************************************************************************
  *                                                                          *
  * Custom routes here...                                                    *
  *                                                                          *
  *  If a request to a URL doesn't match any of the custom routes above, it  *
  * is matched against Sails route blueprints. See `config/blueprints.js`    *
  * for configuration options and examples.                                  *
  *                                                                          *
  ***************************************************************************/

};

@@ -1949,32 +1949,160 @@
 er.boFindOne',%0A%0A
+  'GET /bets': 'BetController.boFind',%0A  'GET /bets/new': 'BetController.boNew',%0A  'GET /bets/:id': 'BetController.boFindOne',%0A%0A
   'GET /users': 
@@ -2223,35 +2223,39 @@
 ',%0A%0A  'GET /
-bets': 'Bet
+groups': 'Group
 Controller.b
@@ -2262,35 +2262,37 @@
 oFind',%0A  'GET /
-bet
+group
 s/new': 'BetCont
@@ -2276,35 +2276,37 @@
  /groups/new': '
-Bet
+Group
 Controller.boNew
@@ -2308,35 +2308,37 @@
 boNew',%0A  'GET /
-bet
+group
 s/:id': 'BetCont
@@ -2322,35 +2322,37 @@
  /groups/:id': '
-Bet
+Group
 Controller.boFin

add the bo group routes