Permalink
Browse files

git-svn-id: https://svn.bluedynamics.eu/svn/module/bda.bfg.tile/trunk…

…@1799 f119a143-da5b-4457-81e3-bee00661a780
  • Loading branch information...
1 parent e8fb272 commit 3fca9209c302e9b28d4045845cc8fdb25e753003 rnix committed Apr 16, 2010
Showing with 2 additions and 1 deletion.
  1. +1 −0 src/bda/bfg/tile/__init__.py
  2. +1 −1 src/bda/bfg/tile/_api.py
@@ -1,6 +1,7 @@
from _api import (
render_template,
render_template_to_response,
+ render_to_response,
render_tile,
ITile,
TileRenderer,
View
@@ -75,7 +75,7 @@ def render_template_to_response(path, **kw):
return response_factory(result)
def render_to_response(request, result):
- if _redirect(request=request):
+ if _redirect(kw={'request': request}):
return HTTPFound(location=request.environ['redirect'])
response_factory = request.registry.queryUtility(IResponseFactory,
default=Response)

0 comments on commit 3fca920

Please sign in to comment.