diff options
| author | Steve Piercy <web@stevepiercy.com> | 2017-01-20 11:33:04 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2017-01-20 11:33:04 -0800 |
| commit | da004dacca884d6e015e4b7d7ccf5ec8f4edff39 (patch) | |
| tree | 0b25868545ebb87f597bac83b96f78b37aedf3ab /docs/narr | |
| parent | 1eaf3dbf08b1cd3c019adf2a46cde443369efff0 (diff) | |
| download | pyramid-da004dacca884d6e015e4b7d7ccf5ec8f4edff39.tar.gz pyramid-da004dacca884d6e015e4b7d7ccf5ec8f4edff39.tar.bz2 pyramid-da004dacca884d6e015e4b7d7ccf5ec8f4edff39.zip | |
Fix typo to be consistent with API docs
- Closes #2904
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/hooks.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index d21edc7b4..63279027a 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -160,7 +160,7 @@ forbidden view: 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 |
