Permalink
Browse files

fixed description in documentation

  • Loading branch information...
1 parent 3156d9a commit 8ffed1137fdd078db2c31d12e69309e74b8ea195 @coolaj86 committed Nov 12, 2012
Showing with 6 additions and 3 deletions.
  1. +2 −0 .gitignore
  2. +4 −3 README.md
View
2 .gitignore
@@ -0,0 +1,2 @@
+.*.sw*
+node_modules
View
7 README.md
@@ -61,9 +61,9 @@ two special things happen:
I.E. The user created an album, but uploaded 0 photos.
2. All fields and files not listed in `arrayFields` will be treated as single values
- (if the field is encountered multiple times, only the last value is kept)
+ (if the field is encountered multiple times, only the first value is kept)
- I.E. If `username` is given twice, only the second value is kept.
+ I.E. If `username` is given twice, only the first value is kept.
#### Example
@@ -73,10 +73,11 @@ two special things happen:
var Formaline = require('formaline')
;
+
// Using Connect, for example
app.use(function (req, res, next) {
var form = Formaline.create(req, {
- tmpDir: '/mnt/uploads/tmp'
+ tmpDir: '/mnt/my-app-data/tmp'
, hashes: ['md5']
, arrayFields: ['photos']
})

0 comments on commit 8ffed11

Please sign in to comment.