-
-
Save vti/ba8394e17094bbc0a05d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/MojoX/Renderer.pm b/lib/MojoX/Renderer.pm | |
index 54bd7e8..a4ac734 100644 | |
--- a/lib/MojoX/Renderer.pm | |
+++ b/lib/MojoX/Renderer.pm | |
@@ -177,6 +177,8 @@ sub render { | |
# Extends | |
while ((my $extends = $self->_extends($c)) && !$json && !$data) { | |
+ $options->{template_class} = $c->stash('template_class'); | |
+ | |
# Handler | |
$handler = $c->stash->{handler}; | |
$options->{handler} = $handler; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment