Added nice urls to sketch pages.
The URL of a sketch will be `/skectes/<sketch-name>`. That would still be like `/skectes/SKETCH-123`. It would interesting to try to make it `/sketches/123`.
This commit is contained in:
@@ -128,6 +128,7 @@ scheduler_events = {
|
||||
# auto_cancel_exempted_doctypes = ["Auto Repeat"]
|
||||
|
||||
website_route_rules = [
|
||||
{"from_route": "/sketches/<sketch>", "to_route": "sketches/sketch"},
|
||||
{"from_route": "/courses/<course>", "to_route": "courses/course"},
|
||||
{"from_route": "/courses/<course>/<topic>", "to_route": "courses/topic"},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user