浏览代码

Small typo

Entity has $file while yml has filename
wilson12 11 年之前
父节点
当前提交
2746032f28
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
               generator:    { strategy: AUTO }
           fields:
-            filename:
+            file:
               type:         string
               length:       100
             updated:        # changed when files are uploaded, to force preUpdate and postUpdate to fire