Browse Source

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).
merge-requests/68/head
Deimos 5 years ago
parent
commit
bce19960f0
  1. 2
      tildes/tildes/routes.py

2
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("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) config.add_route("user", "/user/{username}", factory=user_by_username)
with config.route_prefix_context("/user/{username}"): with config.route_prefix_context("/user/{username}"):

Loading…
Cancel
Save