Browse files

Merge pull request #2 from Skomski/master

Update directory to dirname in Readme
  • Loading branch information...
2 parents 75b9c86 + ccd1714 commit c4cc53bd983bd8c858893075a46e0734d476db6a @felixge committed Jan 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Readme.md
View
2 Readme.md
@@ -6,7 +6,7 @@ An easy way to require all files within a directory.
```js
var controllers = require('require-all')({
- directory: __dirname + '/controllers',
+ dirname: __dirname + '/controllers',
filter: /(.+Controller)\.js$/,
});

0 comments on commit c4cc53b

Please sign in to comment.