Browse files

readme fixs

  • Loading branch information...
1 parent c31798a commit ccdb0746b07397654f0cc30036505dce1f592141 @moshest moshest committed Oct 30, 2012
Showing with 6 additions and 3 deletions.
  1. +6 −3 readme.md
View
9 readme.md
@@ -3,11 +3,13 @@
A lightweight library on Node.js
+
Install
=======
$ npm install further
+
Simple Usage
=====
@@ -44,17 +46,17 @@ controller.tag('requireLogin', function(req, res, next) {
next();
});
-// route "GET admin/" and require login!
+// Route "GET /admin/" and require login!
controller.get('/', 'requireLogin', function(req, res) {
res.send('Hello Admin');
});
-// route "GET admin/login"
+// Route "GET /admin/login"
controller.get('/login', function(req, res) {
res.send('Please Login');
});
-// route "POST admin/login"
+// Route "POST /admin/login"
controller.post('/login', function(req, res) {
res.send(req.body);
});
@@ -76,6 +78,7 @@ Changelog
Initial release
+
License
=======

0 comments on commit ccdb074

Please sign in to comment.