diff options
Diffstat (limited to 'docs/narr/assets.rst')
| -rw-r--r-- | docs/narr/assets.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/assets.rst b/docs/narr/assets.rst index f73ff231a..ee2e0440e 100644 --- a/docs/narr/assets.rst +++ b/docs/narr/assets.rst @@ -137,7 +137,7 @@ The value of the ``permission`` argument represents the :term:`permission` that the user must have relative to the current :term:`context` when the static view is invoked. A user will be required to possess this permission to view any of the files represented by ``path`` of the static view. If your -static resources must be protected by a more complex authorization scheme, +static assets must be protected by a more complex authorization scheme, see :ref:`advanced_static`. Here's another example that uses an :term:`asset specification` instead of an @@ -345,7 +345,7 @@ application's startup code. .. code-block:: python :linenos: - # .. every other add_route and/or add_handler declaration should come + # .. every other add_route declaration should come # before this one, as it will, by default, catch all requests config.add_route('catchall_static', '/*subpath', 'myapp.static.static_view') |
