diff options
author | Chris Beelby <cmbeelby@gmail.com> | 2012-11-13 15:48:23 -0500 |
---|---|---|
committer | Chris Beelby <cmbeelby@gmail.com> | 2012-11-13 15:48:23 -0500 |
commit | cb9e940ecdbb9bf877f6f86ddaaf9e7b698ce6d1 (patch) | |
tree | f38598255209927f222b53536b071daef961bb1c | |
parent | 804e2473fb8bc78736a19f5f5107c3f6a4dbc177 (diff) | |
download | cherrypy-cb9e940ecdbb9bf877f6f86ddaaf9e7b698ce6d1.tar.gz |
Update example call to match example URL
-rw-r--r-- | sphinx/source/concepts/dispatching.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/source/concepts/dispatching.rst b/sphinx/source/concepts/dispatching.rst index 4bf38266..57509f05 100644 --- a/sphinx/source/concepts/dispatching.rst +++ b/sphinx/source/concepts/dispatching.rst @@ -256,7 +256,7 @@ written the above "blog" example equivalently with a "default" method instead:: So the URL ``http://localhost/blog/2005/01/17`` will be mapped as a call to:: - root.blog.default('2005', '1', '17') + root.blog.default('2005', '01', '17') You could achieve the same effect by defining a ``__call__`` method in this case, but "default" just reads better. ;) |