web/views/basecontrollers.py
changeset 8444 7a861620f64f
parent 8311 76a44a0d7f4b
child 8485 8de41063d629
--- a/web/views/basecontrollers.py	Thu Jun 14 15:55:03 2012 +0200
+++ b/web/views/basecontrollers.py	Thu Jun 14 15:21:12 2012 +0200
@@ -90,9 +90,7 @@
 
     def publish(self, rset=None):
         """log in the instance"""
-        path = self._cw.form.get('postlogin_path')
-        if not path:
-            path = '/'
+        path = self._cw.form.get('postlogin_path', '.')
         raise Redirect(path)