Permalink
Browse files

Update directory to dirname

  • Loading branch information...
1 parent 75b9c86 commit ccd17147f256a8e1784ece8611ce7fb6c144f0fc @skomski skomski committed Jan 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Readme.md
View
@@ -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 ccd1714

Please sign in to comment.