Skip to content

Commit

Permalink
Removed leftover from no longer supported blueprint template loading …
Browse files Browse the repository at this point in the history
…code.
  • Loading branch information
mitsuhiko committed Jun 30, 2011
1 parent 0fb2e4c commit 1537266
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions flask/templating.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1537266

Please sign in to comment.