From bce19960f08d2e8d8bdac79cb6ab00e9320dfced Mon Sep 17 00:00:00 2001 From: Deimos Date: Wed, 1 May 2019 17:53:27 -0600 Subject: [PATCH] Remove "remainder match" in comments page route This was never actually necessary, and will need to be dropped to support a separate link/page for individual comments (and children/context). --- tildes/tildes/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tildes/tildes/routes.py b/tildes/tildes/routes.py index 59948ce..0179dac 100644 --- a/tildes/tildes/routes.py +++ b/tildes/tildes/routes.py @@ -36,7 +36,7 @@ def includeme(config: Configurator) -> None: config.add_route("group_topics", "/topics", factory=group_by_path) - config.add_route("topic", "/{topic_id36}*title", factory=topic_by_id36) + config.add_route("topic", "/{topic_id36}/{title}", factory=topic_by_id36) config.add_route("user", "/user/{username}", factory=user_by_username) with config.route_prefix_context("/user/{username}"):