fix: profile urls

This commit is contained in:
Jan Doe
2021-09-09 15:34:39 +05:30
parent 90e268ff2f
commit 7721f31342
3 changed files with 5 additions and 1 deletions

View File

@@ -141,6 +141,7 @@ website_route_rules = [
{"from_route": "/courses/<course>/learn/<int:chapter>.<int:lesson>", "to_route": "batch/learn"},
{"from_route": "/courses/<course>/progress", "to_route": "batch/progress"},
{"from_route": "/courses/<course>/join", "to_route": "batch/join"},
{"from_route": "/users", "to_route": "profiles/profile"}
]
website_redirects = [
@@ -150,6 +151,7 @@ website_redirects = [
update_website_context = [
'community.widgets.update_website_context',
]
jinja = {
"methods": [
"community.page_renderers.get_profile_url"