Steve Piercy
2017-01-20 d200b71215ff9ed50425970487918c2ebc84e2e2
Merge pull request #2908 from stevepiercy/1.6-branch

Fix typo to be consistent with API docs
1 files modified
2 ■■■ changed files
docs/narr/hooks.rst 2 ●●● patch | view | raw | blame | history
docs/narr/hooks.rst
@@ -161,7 +161,7 @@
   def main(globals, **settings):
       config = Configurator()
       config.add_forbidden_view(forbidden_view)
       config.add_forbidden_view(forbidden)
If instead you prefer to use decorators and a :term:`scan`, you can use the
:class:`pyramid.view.forbidden_view_config` decorator to mark a view callable