X-Git-Url: http://git.veekun.com/zzz-spline-users.git/blobdiff_plain/b307c2c5ff63958177e831aee84a09a222f1a47b..a35a43eeaf6e7fe1247657ffffda8bb1735def12:/spline/plugins/users/controllers/users.py diff --git a/spline/plugins/users/controllers/users.py b/spline/plugins/users/controllers/users.py index 4811aa0..4afb9cd 100644 --- a/spline/plugins/users/controllers/users.py +++ b/spline/plugins/users/controllers/users.py @@ -41,11 +41,9 @@ class ProfileEditForm(Form): class UsersController(BaseController): - def index(self): - # Return a rendered template - # return render('/template.mako') - # or, Return a response - return 'stub' + def list(self): + c.users = meta.Session.query(model.User).order_by(model.User.id.asc()) + return render('/users/list.mako') def profile(self, id, name=None): """Main user profile.