Browse files

Some fixes in readme

  • Loading branch information...
1 parent 9990568 commit 5bdee47e8a0f02671c6e2ed21c60729e9b2fe054 @whoamicz committed Mar 13, 2013
Showing with 3 additions and 1 deletion.
  1. +1 −1 README.md
  2. +2 −0 index.js
View
2 README.md
@@ -4,7 +4,7 @@ Easy way for using tree routes in Express.js
## Installation
- $ npm install express-maprouter
+ $ npm install express-treerouter
## Sample
View
2 index.js
@@ -9,10 +9,12 @@ var mapRouter = function(routes){
put: 'put',
del: 'del'
};
+ /*
if (typeof(routes) !== 'object') {
// Space for error
return app;
}
+ */
this.parse(routes);
return this.app;
};

0 comments on commit 5bdee47

Please sign in to comment.