summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorArijit Basu <sayanarijit@users.noreply.github.com>2019-02-19 11:46:17 +0530
committerArijit Basu <sayanarijit@gmail.com>2019-02-19 11:57:36 +0530
commitb4c21eeebb8fee4dd2ab52038ad97e3ba06286fe (patch)
treeb784677fefc9f9dc49964539bd5d46350d3b52d2 /docs
parent1035ca1086ee86d3ce4f207bd3c9b55d5484170b (diff)
downloadpyramid-b4c21eeebb8fee4dd2ab52038ad97e3ba06286fe.tar.gz
pyramid-b4c21eeebb8fee4dd2ab52038ad97e3ba06286fe.tar.bz2
pyramid-b4c21eeebb8fee4dd2ab52038ad97e3ba06286fe.zip
doc update: firstapp: routes to root
https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/firstapp.html#adding-configuration
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/firstapp.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/narr/firstapp.rst b/docs/narr/firstapp.rst
index 917482976..10fbc5bb4 100644
--- a/docs/narr/firstapp.rst
+++ b/docs/narr/firstapp.rst
@@ -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