From b307c2c5ff63958177e831aee84a09a222f1a47b Mon Sep 17 00:00:00 2001 From: Eevee Date: Sat, 8 May 2010 16:27:12 -0700 Subject: [PATCH 1/1] Use full-caps name for user link URLs. --- spline/plugins/users/controllers/users.py | 2 +- spline/plugins/users/templates/users/profile.mako | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spline/plugins/users/controllers/users.py b/spline/plugins/users/controllers/users.py index 6cb36d5..4811aa0 100644 --- a/spline/plugins/users/controllers/users.py +++ b/spline/plugins/users/controllers/users.py @@ -86,5 +86,5 @@ class UsersController(BaseController): h.flash('Saved your profile.', icon='tick') redirect_to(controller='users', action='profile', - id=c.page_user.id, name=c.page_user.name.lower(), + id=c.page_user.id, name=c.page_user.name, _code=303) diff --git a/spline/plugins/users/templates/users/profile.mako b/spline/plugins/users/templates/users/profile.mako index bf0a630..9b1a254 100644 --- a/spline/plugins/users/templates/users/profile.mako +++ b/spline/plugins/users/templates/users/profile.mako @@ -8,7 +8,7 @@

Profile for ${c.page_user.name} ${userlib.color_bar(c.page_user)}. % if c.page_user == c.user: - + Edit -- 2.7.4