Skip to content

Commit

Permalink
add lang detect
Browse files Browse the repository at this point in the history
  • Loading branch information
karboom committed Nov 25, 2014
1 parent cb5eb2a commit 02921d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Add route with fs structure and restful style.

usage
=====
```
```bash
npm install route-fs
```
```
```javascript
var server = require('express').createServer(); //or other express like server
var route_fs = require('route-fs');

Expand All @@ -33,13 +33,13 @@ project
route-flis
==========
hello.js
```
```javascript
exports.get = function (req, res) {
res.send('hello,' + req.params.name + '!');
}
```
user/student.js
```
```javascript
exports.put = function (req, res) {
res.send('good evening,'+ req.params.name +'!');
}
Expand Down

0 comments on commit 02921d4

Please sign in to comment.