Permalink
Browse files

docs

  • Loading branch information...
1 parent b6c0a9b commit a9992b56474a8b5157013f7f9d49d81e82256049 @tj tj committed Apr 25, 2011
Showing with 2 additions and 13 deletions.
  1. +2 −13 lib/router/index.js
View
15 lib/router/index.js
@@ -44,22 +44,11 @@ var _methods = exports.methods = [
];
/**
- * Provides Sinatra and Express-like routing capabilities.
- *
- * Examples:
- *
- * connect.router(function(app){
- * app.get('/user/:id', function(req, res, next){
- * // populates req.params.id
- * });
- * app.put('/user/:id', function(req, res, next){
- * // populates req.params.id
- * });
- * })
+ * Provides Sinatra-like routing capabilities.
*
* @param {Function} fn
* @return {Function}
- * @api public
+ * @api private
*/
function router(fn){

0 comments on commit a9992b5

Please sign in to comment.