Commit 0385cf68 authored by Fabien Morin's avatar Fabien Morin

Change expression "here.absolute_url() + '/view'" to here.getPermanentURL(here);

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35448 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c4eb46cf
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
dummy python: response.redirect(url);" />\n dummy python: response.redirect(url);" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="not: isAnon">\n <tal:block tal:condition="not: isAnon">\n
<tal:block tal:define="came_from python: request.get(\'came_from\') or here.absolute_url() + \'/view\';\n <tal:block tal:define="came_from python: request.get(\'came_from\') or here.getPermanentURL(here);\n
dummy python: response.redirect(came_from);" />\n dummy python: response.redirect(came_from);" />\n
</tal:block>\n </tal:block>\n
</tal:block>\n </tal:block>\n
......
943 945
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment