diff options
| author | Mike Naberezny <mike@maintainable.com> | 2009-11-23 17:10:04 +0000 |
|---|---|---|
| committer | Mike Naberezny <mike@maintainable.com> | 2009-11-23 17:10:04 +0000 |
| commit | 2a6fa4483366e53bca50e126564cb662e5fe9333 (patch) | |
| tree | 00a0abef70cb2dd382d4101009e2d01ada56ea3f /docs | |
| parent | 4c4c5aff62a5b8813a41784279c997b71fb46508 (diff) | |
| download | pyramid-2a6fa4483366e53bca50e126564cb662e5fe9333.tar.gz pyramid-2a6fa4483366e53bca50e126564cb662e5fe9333.tar.bz2 pyramid-2a6fa4483366e53bca50e126564cb662e5fe9333.zip | |
speling
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/configuration.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/configuration.rst b/docs/narr/configuration.rst index c5cb60405..08a31549c 100644 --- a/docs/narr/configuration.rst +++ b/docs/narr/configuration.rst @@ -334,7 +334,7 @@ as one or more keyword arguments to the ``add_view`` method, otherwise known as :term:`predicate` arguments. The line ``config.add_view(hello_world)`` registers the -``hello_world`` function as a view callble. The ``add_view`` method +``hello_world`` function as a view callable. The ``add_view`` method of a Configurator must be called with a view callable object as its first argument, so the first argument passed is ``hello_world`` function we'd like to use as a :term:`view callable`. However, this @@ -367,7 +367,7 @@ configuration in its application registry for a given request. most specific callable when a request is dispatched to it. The line ``config.add_view(goodbye_world, name='goodbye')`` registers -the ``hello_world`` function as a view callble. The line calls +the ``hello_world`` function as a view callable. The line calls ``add_view`` with the view callable as the first required positional argument, and a :term:`predicate` keyword argument ``name`` with the value ``'goodbye'``. This :term:`view configuration` implies that a |
