diff options
| author | Steve Piercy <web@stevepiercy.com> | 2017-01-20 11:39:25 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-20 11:39:25 -0800 |
| commit | 22420bf5a030c6a95e15cceec022b649cb55a2a1 (patch) | |
| tree | 0b25868545ebb87f597bac83b96f78b37aedf3ab | |
| parent | 1eaf3dbf08b1cd3c019adf2a46cde443369efff0 (diff) | |
| parent | da004dacca884d6e015e4b7d7ccf5ec8f4edff39 (diff) | |
| download | pyramid-22420bf5a030c6a95e15cceec022b649cb55a2a1.tar.gz pyramid-22420bf5a030c6a95e15cceec022b649cb55a2a1.tar.bz2 pyramid-22420bf5a030c6a95e15cceec022b649cb55a2a1.zip | |
Merge pull request #2905 from stevepiercy/master
Fix typo to be consistent with API docs
| -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 |
