Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpoorman committed Oct 24, 2012
1 parent 118a991 commit 6d03a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Expand Up @@ -94,7 +94,7 @@ Resources have the concept of "auto-loading" associated data. For example we can

app.resource('users', { show: ..., load: User.load });
With the auto-loader defined, the `req.user` object will be available now be available to the actions automatically. We may pass the "load" option as the third param as well, although this is equivalent to above, but allows you to either export ".load" along with your actions, or passing it explicitly:
With the auto-loader defined, the `req.user` object will now be available to the actions automatically. We may pass the "load" option as the third param as well, although this is equivalent to above, but allows you to either export ".load" along with your actions, or passing it explicitly:

app.resource('users', require('./user'), { load: User.load });

Expand Down

0 comments on commit 6d03a3b

Please sign in to comment.