Merge commit 'vti/vti'

This commit is contained in:
Ask Bjørn Hansen
2008-12-08 20:44:26 -08:00

View File

@@ -49,17 +49,14 @@ sub _init {
}
sub _render {
my ($self, $mojo, $args) = @_;
my ($self, $renderer, $c, $output) = @_;
$args->{args} ||= {};
#use Data::Dump qw(dump);
#warn dump(\$args);
my $template_path = $c->stash->{template_path};
unless (
$self->tt->process(
$args->{path}, {%{$args->{args}}, c => $args->{c}},
$args->{output}, {binmode => ":utf8"}
$template_path, {%{$c->stash}, c => $c},
$output, {binmode => ":utf8"}
)
)
{