Use full-caps name for user link URLs.
authorEevee <git@veekun.com>
Sat, 8 May 2010 23:27:12 +0000 (16:27 -0700)
committerEevee <git@veekun.com>
Sat, 8 May 2010 23:27:12 +0000 (16:27 -0700)
spline/plugins/users/controllers/users.py
spline/plugins/users/templates/users/profile.mako

index 6cb36d5..4811aa0 100644 (file)
@@ -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)
index bf0a630..9b1a254 100644 (file)
@@ -8,7 +8,7 @@
 <p>
     Profile for ${c.page_user.name} ${userlib.color_bar(c.page_user)}.
     % if c.page_user == c.user:
-    <a href="${url(controller='users', action='profile_edit', id=c.page_user.id, name=c.page_user.name.lower())}">
+    <a href="${url(controller='users', action='profile_edit', id=c.page_user.id, name=c.page_user.name)}">
         <img src="${h.static_uri('spline', 'icons/user--pencil.png')}" alt="">
         Edit
     </a>