/**
 * 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)                                                      *
  *                                                                          *
  ***************************************************************************/

  '/': {
    view: 'homepage'
  }

  /***************************************************************************
  *                                                                          *
  * 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.                                  *
  *                                                                          *
  ***************************************************************************/

};

@@ -1002,32 +1002,33 @@
 *************%0A  
+ 
 *               
@@ -1084,24 +1084,25 @@
           *%0A
+ 
   * Make the
@@ -1170,16 +1170,17 @@
 e%60, *%0A  
+ 
 * etc. d
@@ -1240,32 +1240,33 @@
               *%0A
+ 
   *             
@@ -1330,16 +1330,17 @@
     *%0A  
+ 
 * (Alter
@@ -1404,24 +1404,25 @@
 r         *%0A
+ 
   * %60assets%60
@@ -1480,32 +1480,33 @@
               *%0A
+ 
   *             
@@ -1562,32 +1562,33 @@
             *%0A  
+ 
 ****************
@@ -1648,16 +1648,107 @@
 ******/%0A
+  'get /login': 'UserController.login',%0A  'get /admin/login': 'admin/UserController.login',
 %0A  '/': 
@@ -1852,24 +1852,25 @@
 *********%0A  
+ 
 *           
@@ -1930,24 +1930,25 @@
           *%0A
+ 
   * Custom r
@@ -2008,32 +2008,33 @@
             *%0A  
+ 
 *               
@@ -2090,24 +2090,25 @@
           *%0A
+ 
   * If a req
@@ -2170,24 +2170,25 @@
 ove, it   *%0A
+ 
   * is match
@@ -2256,16 +2256,17 @@
     *%0A  
+ 
 * for co
@@ -2334,16 +2334,17 @@
       *%0A
+ 
   *     
@@ -2414,16 +2414,17 @@
       *%0A
+ 
   ******

set up router