Permalink
Browse files

Removed leftover from no longer supported blueprint template loading …

…code.
  • Loading branch information...
1 parent 0fb2e4c commit 15372661af2974577d5c1d15fdaf88452661c2a9 @mitsuhiko mitsuhiko committed Jun 30, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 flask/templating.py
View
@@ -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)

0 comments on commit 1537266

Please sign in to comment.