Steve Piercy
2017-01-20 da004dacca884d6e015e4b7d7ccf5ec8f4edff39
Fix typo to be consistent with API docs
- Closes #2904
1 files modified
2 ■■■ changed files
docs/narr/hooks.rst 2 ●●● patch | view | raw | blame | history
docs/narr/hooks.rst
@@ -160,7 +160,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