X-Git-Url: http://git.veekun.com/zzz-spline-users.git/blobdiff_plain/621eeb2e049b106ca8c794c0d3e958527eb3f060..a35a43eeaf6e7fe1247657ffffda8bb1735def12:/spline/plugins/users/__init__.py diff --git a/spline/plugins/users/__init__.py b/spline/plugins/users/__init__.py index 4ce4465..e606823 100644 --- a/spline/plugins/users/__init__.py +++ b/spline/plugins/users/__init__.py @@ -14,6 +14,7 @@ import spline.plugins.users.model def add_routes_hook(map, *args, **kwargs): """Hook to inject some of our behavior into the routes configuration.""" # Login, logout + map.connect('/accounts/login', controller='accounts', action='login') map.connect('/accounts/login_begin', controller='accounts', action='login_begin') map.connect('/accounts/login_finish', controller='accounts', action='login_finish') map.connect('/accounts/logout', controller='accounts', action='logout') @@ -21,7 +22,8 @@ def add_routes_hook(map, *args, **kwargs): # Self-admin map.connect('/users/{id};{name}/edit', controller='users', action='profile_edit') - # Public per-user pages + # Public user pages + map.connect('/users', controller='users', action='list') map.connect('/users/{id};{name}', controller='users', action='profile') map.connect('/users/{id}', controller='users', action='profile')