# HG changeset patch # User Lennard de Rijk # Date 1234899383 0 # Node ID 8c7f5411d372e390cec4adf26de204f4f7e75d87 # Parent 101759701e5164311862d5cfea1a61c155c5db76 Added new redirect to redirects helper. In preparation for student view. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 101759701e51 -r 8c7f5411d372 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. """