From: Eevee Date: Sat, 8 May 2010 23:27:12 +0000 (-0700) Subject: Use full-caps name for user link URLs. X-Git-Tag: veekun-promotions/2010050901~2 X-Git-Url: http://git.veekun.com/zzz-spline-users.git/commitdiff_plain/b307c2c5ff63958177e831aee84a09a222f1a47b?hp=ef84ec8cca82b01bdec296d7c02001b7b212ff5f Use full-caps name for user link URLs. --- 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