diff options
| author | Chris McDonough <chrism@plope.com> | 2013-08-10 02:32:28 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-08-10 02:32:28 -0400 |
| commit | dff772959de5604c44a445bee30b9bdf9741f56b (patch) | |
| tree | 53c2a6a57e7d205e78aab7054684d312de6b4fb7 /docs/narr/viewconfig.rst | |
| parent | 3f503d0a30b487b590fc3e12834ce12d8ed0a25c (diff) | |
| parent | 3c173be3c43aba74554265cbfe3a11f4de9ca537 (diff) | |
| download | pyramid-dff772959de5604c44a445bee30b9bdf9741f56b.tar.gz pyramid-dff772959de5604c44a445bee30b9bdf9741f56b.tar.bz2 pyramid-dff772959de5604c44a445bee30b9bdf9741f56b.zip | |
Merge branch 'master' of github.com:Pylons/pyramid
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 fd3229339..6a064c209 100644 --- a/docs/narr/viewconfig.rst +++ b/docs/narr/viewconfig.rst @@ -831,7 +831,7 @@ of this: config.add_view( RESTView, route_name='rest', attr='delete', request_method='DELETE') -To reduce the amount of repetion in the ``config.add_view`` statements, we +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 decorator on the RESTView class: |
