]> asedeno.scripts.mit.edu Git - bluechips.git/commitdiff
Move the e-mail form to /user/email
authorEvan Broder <broder@mit.edu>
Thu, 25 Feb 2010 03:44:05 +0000 (22:44 -0500)
committerEvan Broder <broder@mit.edu>
Thu, 25 Feb 2010 03:44:05 +0000 (22:44 -0500)
bluechips/controllers/user.py
bluechips/templates/user/email.mako [moved from bluechips/templates/user/index.mako with 100% similarity]

index 8f9895ea44a8163dd49a77e67036038d087a5d60..c59733355c131c4f56e3df911fa204e5141c4182 100644 (file)
@@ -50,9 +50,9 @@ class NewUserSchema(Schema):
 
 
 class UserController(BaseController):
-    def index(self):
+    def email(self):
         c.title = 'User Settings'
-        return render('/user/index.mako')
+        return render('/user/email.mako')
 
     @authenticate_form
     @validate(schema=EmailSchema(), form='index')