changeset 411 | 182295d018f7 |
parent 370 | 9a5f4a56e3ac |
child 424 | 71e8fde38f70 |
--- a/src/pyams_default_theme/routes.py Tue Jan 29 16:52:23 2019 +0100 +++ b/src/pyams_default_theme/routes.py Wed Jan 30 18:27:13 2019 +0100 @@ -57,6 +57,7 @@ if location == request.url: # return view response to avoid infinite redirection! request.annotations[DISPLAY_CONTEXT] = request.context + request.context = target response = render_view_to_response(target, request, view_name) else: response = Response()