Skip to content

Commit

Permalink
Fix issue with replace_template and @require
Browse files Browse the repository at this point in the history
  • Loading branch information
amol- committed Mar 20, 2014
1 parent ef461c5 commit 4325c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgext/pluggable/template_replacements.py
Expand Up @@ -25,7 +25,7 @@ def replace_template_hook(remainder, params, output):

replaced_template = config._pluggable_templates_replacements.get(template)
if replaced_template:
override_template(controller, replaced_template)
override_template(decoration.controller, replaced_template)

def init_replacements(app_config):
try:
Expand Down

0 comments on commit 4325c29

Please sign in to comment.