--- a/app/soc/views/models/presence.py Sun Mar 22 22:54:14 2009 +0000
+++ b/app/soc/views/models/presence.py Sun Mar 22 22:54:40 2009 +0000
@@ -103,8 +103,12 @@
Overrides public_template to point at 'home_template'.
"""
+ key_name = self._logic.getKeyNameFromFields(kwargs)
+ redirect = '/%s/show/%s' % (self._params['url_name'], key_name)
+
new_params = {}
new_params['public_template'] = self._params['home_template']
+ new_params['public_redirect'] = redirect
params = dicts.merge(params, new_params)