forked from orbit-oss/flask
Removed leftover from no longer supported blueprint template loading code.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
This commit is contained in:
parent
5e3cc7fdde
commit
3571bf223b
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue