Skip to content
This repository
Browse code

readme fixs

  • Loading branch information...
commit ccdb0746b07397654f0cc30036505dce1f592141 1 parent c31798a
Moshe Simantov authored

Showing 1 changed file with 6 additions and 3 deletions. Show diff stats Hide diff stats

  1. +6 3 readme.md
9 readme.md
Source Rendered
@@ -3,11 +3,13 @@
3 3
4 4 A lightweight library on Node.js
5 5
  6 +
6 7 Install
7 8 =======
8 9
9 10 $ npm install further
10 11
  12 +
11 13 Simple Usage
12 14 =====
13 15
@@ -44,17 +46,17 @@ controller.tag('requireLogin', function(req, res, next) {
44 46 next();
45 47 });
46 48
47   -// route "GET admin/" and require login!
  49 +// Route "GET /admin/" and require login!
48 50 controller.get('/', 'requireLogin', function(req, res) {
49 51 res.send('Hello Admin');
50 52 });
51 53
52   -// route "GET admin/login"
  54 +// Route "GET /admin/login"
53 55 controller.get('/login', function(req, res) {
54 56 res.send('Please Login');
55 57 });
56 58
57   -// route "POST admin/login"
  59 +// Route "POST /admin/login"
58 60 controller.post('/login', function(req, res) {
59 61 res.send(req.body);
60 62 });
@@ -76,6 +78,7 @@ Changelog
76 78
77 79 Initial release
78 80
  81 +
79 82 License
80 83 =======
81 84

0 comments on commit ccdb074

Please sign in to comment.
Something went wrong with that request. Please try again.