Fix login link
authorSverre Rabbelier <srabbelier@gmail.com>
Thu, 08 Jan 2009 21:23:33 +0000
changeset 787 63d7f170b63c
parent 786 6d802e596a96
child 788 892877b7db07
Fix login link Without the leading slash the link does not work on appspot. Patch by: Sverre Rabbelier
app/soc/views/models/user_self.py
--- a/app/soc/views/models/user_self.py	Thu Jan 08 21:23:24 2009 +0000
+++ b/app/soc/views/models/user_self.py	Thu Jan 08 21:23:33 2009 +0000
@@ -114,7 +114,7 @@
     
     new_params['sidebar_heading'] = 'User (self)'
     new_params['sidebar'] = [
-        (users.create_login_url("user/edit"), 'Sign In', 'signIn'),
+        (users.create_login_url("/user/edit"), 'Sign In', 'signIn'),
         ('/' + new_params['url_name'] + '/edit', 'Profile', 'edit'),
         ('/' + new_params['url_name'] + '/roles', 'Roles', 'roles'),
         ('/' + 'notification/list', 'Notifications', 'notification'),