Browse Source

Merge pull request #2318 from trujamii/patch-1

Update recipe_file_uploads.rst
Thomas 10 years ago
parent
commit
51e4797671
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Resources/doc/cookbook/recipe_file_uploads.rst

+ 1 - 1
Resources/doc/cookbook/recipe_file_uploads.rst

@@ -56,7 +56,7 @@ upload timestamp.
               type:         integer
               type:         integer
               generator:    { strategy: AUTO }
               generator:    { strategy: AUTO }
           fields:
           fields:
-            file:
+            filename:
               type:         string
               type:         string
               length:       100
               length:       100
             updated:        # changed when files are uploaded, to force preUpdate and postUpdate to fire
             updated:        # changed when files are uploaded, to force preUpdate and postUpdate to fire