Permalink
Browse files

Update 14.markmin

Fixing a very minor typo in the variable name when used in the explanation
  • Loading branch information...
1 parent d5b7861 commit 40132ebd3e1ed9f7872e25c7d424e8b854c2d502 @dpetzel dpetzel committed Mar 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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:

0 comments on commit 40132eb

Please sign in to comment.