summaryrefslogtreecommitdiff
path: root/docs/advanced.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/advanced.rst')
-rw-r--r--docs/advanced.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/advanced.rst b/docs/advanced.rst
index 2558625e..731fa1bb 100644
--- a/docs/advanced.rst
+++ b/docs/advanced.rst
@@ -48,6 +48,8 @@ Obviously, your aliases may be whatever suits your needs.
The alias may be a single string or a list of them.
+.. _restful:
+
RESTful-style dispatching
#########################
@@ -204,7 +206,7 @@ Note that the decorator accepts more than a single binding. For instance:
This would handle the following URL:
-- http://localhost:8080/nirvana/albums/nevermind/track/06/polly
+- http://localhost:8080/nirvana/albums/nevermind/tracks/06/polly
Notice finally how the whole stack of segments is passed to each
page handler so that you have the full context.