Skip to content
Permalink
Browse files

doc update: firstapp: routes to root

  • Loading branch information...
sayanarijit committed Feb 19, 2019
1 parent 1035ca1 commit b4c21eeebb8fee4dd2ab52038ad97e3ba06286fe
Showing with 3 additions and 2 deletions.
  1. +2 −0 CONTRIBUTORS.txt
  2. +1 −2 docs/narr/firstapp.rst
@@ -336,3 +336,5 @@ Contributors
- Colin Dunklau, 2018/09/19

- Alexandre Yukio Harano, 2018/10/05

- Arijit Basu, 2019/02/19
@@ -170,8 +170,7 @@ Adding Configuration
:lines: 12-13

The first line above calls the :meth:`pyramid.config.Configurator.add_route`
method, which registers a :term:`route` to match any URL path that begins with
``/hello/`` followed by a string.
method, which registers a :term:`route` to root (``/``) URL path.

The second line registers the ``hello_world`` function as a :term:`view
callable` and makes sure that it will be called when the ``hello`` route is

0 comments on commit b4c21ee

Please sign in to comment.
You can’t perform that action at this time.