app/soc/views/helper/redirects.py
changeset 643 b57d538a9dd3
parent 639 1f92bd41b914
child 652 02323664d532
--- a/app/soc/views/helper/redirects.py	Mon Dec 01 21:37:27 2008 +0000
+++ b/app/soc/views/helper/redirects.py	Mon Dec 01 21:38:25 2008 +0000
@@ -31,6 +31,14 @@
   
   return result
 
+def getCreateProgramRedirect(entity, params):
+  """Returns the create program redirect for the specified entity.
+  """
+
+  result ='/%s/create/%s' % (
+     params['url_name'], entity.link_id)
+
+  return result
 
 def getEditRedirect(entity, params):
   """Returns the edit redirect for the specified entity.