summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 1790bb69f..7772ac7e2 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -17,7 +17,9 @@ Features
``config.include(..., route_prefix=...)`` or
``with config.route_prefix_context(...)``. This can be done by specifying
an empty pattern and setting the new argument
- ``inherit_slash=True``. For example::
+ ``inherit_slash=True``. For example:
+
+ .. code-block:: python
with config.route_prefix_context('/users'):
config.add_route('users', '', inherit_slash=True)