--- a/app/soc/views/helper/redirects.py Tue Mar 17 13:22:00 2009 +0000
+++ b/app/soc/views/helper/redirects.py Tue Mar 17 13:25:55 2009 +0000
@@ -280,13 +280,21 @@
def getSlotsRedirect(entity, params):
- """Returns the student proposal redirect for the given org and student.
+ """Returns the slots redirect for the specified entity.
"""
return'/%s/slots/%s' % (
params['url_name'], entity.key().name())
+def getSlotsRedirect(entity, params):
+ """Returns the assign slots redirect for the specified entity.
+ """
+
+ return'/%s/assign_slots/%s' % (
+ params['url_name'], entity.key().name())
+
+
def getCreateDocumentRedirect(entity, prefix):
"""Returns the redirect for new documents.
"""