Added new redirect to redirects helper.
authorLennard de Rijk <ljvderijk@gmail.com>
Tue, 17 Feb 2009 19:36:23 +0000
changeset 1378 8c7f5411d372
parent 1377 101759701e51
child 1379 e6341549300c
Added new redirect to redirects helper. In preparation for student view. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/views/helper/redirects.py
--- a/app/soc/views/helper/redirects.py	Tue Feb 17 19:35:00 2009 +0000
+++ b/app/soc/views/helper/redirects.py	Tue Feb 17 19:36:23 2009 +0000
@@ -187,6 +187,13 @@
   return result
 
 
+def getUserRolesRedirect(_, __):
+  """Returns the redirect to the users Roles page.
+  """
+
+  return '/user/roles'
+
+
 def getProcessRequestRedirect(entity, _):
   """Returns the redirect for processing the specified request entity.
   """