diff options
| author | Chris McDonough <chrism@plope.com> | 2013-09-22 13:30:58 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-09-22 13:30:58 -0400 |
| commit | bf76bc25cdd952ab8fc977875d7022b601519d6e (patch) | |
| tree | 3c241acc270790a8c69f4701d118ed1da02da42a /docs | |
| parent | 6c42933074f9d2be3be10e9408d7c934541b337a (diff) | |
| parent | 1e35e04865f5974fe9d31fd2e3079fe339b1b548 (diff) | |
| download | pyramid-bf76bc25cdd952ab8fc977875d7022b601519d6e.tar.gz pyramid-bf76bc25cdd952ab8fc977875d7022b601519d6e.tar.bz2 pyramid-bf76bc25cdd952ab8fc977875d7022b601519d6e.zip | |
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs')
| -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 |
