Skip to content

Commit

Permalink
Updated default routes file to be accurate.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikermcneil committed Aug 11, 2013
1 parent fae6c70 commit c2e90d7
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions bin/boilerplates/config/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,7 @@ module.exports.routes = {


/**
* (4) View blueprints
*
* These routes can be disabled by setting (in config/controllers.js):
* `module.exports.views.blueprints = false`
*
* If you have a view file at `/views/foo/bar.ejs`, it will be rendered and served
* automatically via the route: `/foo/bar`
*
*/

/**
* (5) Shortcut CRUD blueprints
* (4) Shortcut CRUD blueprints
*
* These routes can be disabled by setting (in config/controllers.js)
* `module.exports.controllers.blueprints.shortcuts = false`
Expand All @@ -133,7 +122,7 @@ module.exports.routes = {
*/

/**
* (6) REST blueprints
* (5) REST blueprints
*
* These routes can be disabled by setting (in config/controllers.js)
* `module.exports.controllers.blueprints.rest = false`
Expand All @@ -152,7 +141,7 @@ module.exports.routes = {
*/

/**
* (7) Static assets
* (6) Static assets
*
* Flat files in your `assets` directory- (these are sometimes referred to as 'public')
* If you have an image file at `/assets/images/foo.jpg`, it will be made available
Expand All @@ -163,6 +152,8 @@ module.exports.routes = {


/**
* (7) 404 (not found) handler
*
* Finally, if nothing else matched, the default 404 handler is triggered.
* See `config/404.js` to adjust your app's 404 logic.
*/
Expand Down

0 comments on commit c2e90d7

Please sign in to comment.