From 7602134e2908cb1f6100349daac39a61b23f572e Mon Sep 17 00:00:00 2001 From: Rufus Pollock Date: Fri, 27 Jan 2012 16:22:56 +0000 Subject: [PATCH] [bugfix,routing][xs]: ensure /user/ redirects to /user rather than displaying current user's home page. --- ckan/config/routing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ckan/config/routing.py b/ckan/config/routing.py index 98d6b0f223d..a230b63fd47 100644 --- a/ckan/config/routing.py +++ b/ckan/config/routing.py @@ -276,6 +276,7 @@ def make_map(): map.connect('/tag/{id}', controller='tag', action='read') # users map.redirect("/users/{url:.*}", "/user/{url}") + map.redirect("/user/", "/user") map.connect('/user/edit', controller='user', action='edit') # Note: openid users have slashes in their ids, so need the wildcard # in the route.