Browse Source

Removed leftover from no longer supported blueprint template loading code.

pull/269/merge
Armin Ronacher 14 years ago
parent
commit
15372661af
  1. 2
      flask/templating.py

2
flask/templating.py

@ -117,8 +117,6 @@ def render_template(template_name, **context):
"""
ctx = _request_ctx_stack.top
ctx.app.update_template_context(context)
if template_name[:1] == ':':
template_name = ctx.request.blueprint + template_name
return _render(ctx.app.jinja_env.get_template(template_name),
context, ctx.app)

Loading…
Cancel
Save