summaryrefslogtreecommitdiff
path: root/docs/narr/advanced-features.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/narr/advanced-features.rst')
-rw-r--r--docs/narr/advanced-features.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/advanced-features.rst b/docs/narr/advanced-features.rst
index 6e819ff5b..6f3b4e11b 100644
--- a/docs/narr/advanced-features.rst
+++ b/docs/narr/advanced-features.rst
@@ -34,7 +34,7 @@ For our example above, you can do this instead:
.. code-block:: python
:linenos:
- @view_config(route_name="items", effective_principals=pyramid.authorization.Authenticated)
+ @view_config(route_name="items", is_authenticated=True)
def auth_view(request):
# do one thing