Skip to content

Commit f369409

Browse files
committed
Add missing trailing slashes
Missing slashes lead to redirects that add the slash. Add where missing in the context menu.
1 parent 6698e3e commit f369409

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pgweb/util/contexts.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,18 @@
7676
{'title': 'Report a Bug', 'link': '/account/submitbug/'},
7777
],
7878
'account': [
79-
{'title': 'Your account', 'link': '/account'},
80-
{'title': 'Profile', 'link': '/account/profile'},
79+
{'title': 'Your account', 'link': '/account/'},
80+
{'title': 'Profile', 'link': '/account/profile/'},
8181
{'title': 'Mailing List Subscriptions', 'link': 'https://lists.postgresql.org/manage/'},
82-
{'title': 'Submitted data', 'link': '/account', 'submenu': [
82+
{'title': 'Submitted data', 'link': '/account/', 'submenu': [
8383
{'title': 'News Articles', 'link': '/account/edit/news/'},
8484
{'title': 'Events', 'link': '/account/edit/events/'},
8585
{'title': 'Products', 'link': '/account/edit/products/'},
8686
{'title': 'Professional Services', 'link': '/account/edit/services/'},
8787
{'title': 'Organisations', 'link': '/account/edit/organisations/'},
8888
]},
8989
{'title': 'Change password', 'link': '/account/changepwd/'},
90-
{'title': 'Logout', 'link': '/account/logout'},
90+
{'title': 'Logout', 'link': '/account/logout/'},
9191
],
9292
}
9393

0 commit comments

Comments
 (0)