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

  '/': '/api/',
  '/api': 'ApiController',
  '/api/v1': 'v1/ApiController.index',
  '/api/v1/user': 'v1/UserController.index',
  '/api/v1/user/register': 'v1/UserController.register',
  '/api/v1/user/password': 'v1/UserController.password',

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

};

@@ -1644,16 +1644,21 @@
 **/%0A%0A  '
+get  
 /': '/ap
@@ -1661,24 +1661,29 @@
 '/api/',%0A  '
+get  
 /api': 'ApiC
@@ -1693,24 +1693,29 @@
 roller',%0A  '
+get  
 /api/v1': 'v
@@ -1733,32 +1733,37 @@
 ller.index',%0A  '
+get  
 /api/v1/user': '
@@ -1787,24 +1787,29 @@
 .index',%0A  '
+post 
 /api/v1/user
@@ -1853,16 +1853,21 @@
 er',%0A  '
+post 
 /api/v1/

Improve routes style.