Skip to content

Commit

Permalink
Fix UserHook route sample
Browse files Browse the repository at this point in the history
  • Loading branch information
nfroidure committed Apr 6, 2015
1 parent 892abf9 commit 45fb415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ var v1Router = router.add({
});


// Sample of a GET /users/:id route declaration
// Sample of a GET /api/v1/users/:id route declaration
v1Router.add({
methods: ['GET']
nodes: [
Expand All @@ -312,7 +312,7 @@ v1Router.add({
description: 'The id of the user you wish to access to.'
}
}
}, UserController);
}, UserHook);
```
## The Specs format
Expand Down

0 comments on commit 45fb415

Please # to comment.