Skip to content

Fixing a very minor typo in the variable name when used in the explanation #46

Merged
merged 1 commit into from Mar 31, 2013
+1 −1
View
2 sources/29-web2py-english/14.markmin
@@ -82,7 +82,7 @@ def myfolder():
return dict(files=Expose('/path/to/myfolder'))
``:code
-which you can render in a view with ``{{=fiels}}``. It will create an interface to view the files and folders, and navigate the tree structure. Images will have a preview.
+which you can render in a view with ``{{=files}}``. It will create an interface to view the files and folders, and navigate the tree structure. Images will have a preview.
The path prefix "/path/to/myfolder" will be hidden to the visitors. For example a file called "/path/to/myfolder/a/b.txt" and replaced with "base/a/b.txt". The "base" prefix can be specified using the ``basename`` argument of the Expose function. Using the argument ``extensions`` can specify a list of file extensions to be listed, other files will be hidden. For example:
Something went wrong with that request. Please try again.