diff options
| author | Michael Merickel <michael@merickel.org> | 2013-09-22 11:34:39 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2013-09-22 11:34:39 -0500 |
| commit | 1e35e04865f5974fe9d31fd2e3079fe339b1b548 (patch) | |
| tree | d74c4e8f08e087a8506aefccc8a38aec43d2b4a6 /docs/narr/viewconfig.rst | |
| parent | 4d2fc0bbc58bc1948c73b2fcb3e0e1bdeee7a5d6 (diff) | |
| download | pyramid-1e35e04865f5974fe9d31fd2e3079fe339b1b548.tar.gz pyramid-1e35e04865f5974fe9d31fd2e3079fe339b1b548.tar.bz2 pyramid-1e35e04865f5974fe9d31fd2e3079fe339b1b548.zip | |
typo
Diffstat (limited to 'docs/narr/viewconfig.rst')
| -rw-r--r-- | docs/narr/viewconfig.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst index 76cf1daac..182676b29 100644 --- a/docs/narr/viewconfig.rst +++ b/docs/narr/viewconfig.rst @@ -833,7 +833,7 @@ of this: RESTView, route_name='rest', attr='delete', request_method='DELETE') To reduce the amount of repetition in the ``config.add_view`` statements, we -can move the ``route_name='rest'`` argument to a ``@view_default`` class +can move the ``route_name='rest'`` argument to a ``@view_defaults`` class decorator on the RESTView class: .. code-block:: python |
