Added new redirect to redirects helper.
In preparation for student view.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- 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.
"""