Mercurial > kallithea
changeset 7838:d1d04b52e3f5
routing: don't use http://example.com/_admindefaults for Admin ยป Repository Defaults - it should be /admin/default
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 18 Aug 2019 15:15:20 +0200 |
parents | 4f8428f467c8 |
children | cb4a0de6ca8e |
files | kallithea/config/routing.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/config/routing.py Sun Aug 18 20:15:45 2019 +0200 +++ b/kallithea/config/routing.py Sun Aug 18 15:15:20 2019 +0200 @@ -263,7 +263,7 @@ # ADMIN DEFAULTS ROUTES with rmap.submapper(path_prefix=ADMIN_PREFIX, controller='admin/defaults') as m: - m.connect('defaults', 'defaults', + m.connect('defaults', '/defaults', action="index") m.connect('defaults_update', 'defaults/{id}/update', action="update", conditions=dict(method=["POST"]))