]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole.pm
fixed template_args
[maypole.git] / lib / Maypole.pm
index eed0c74aa1a49ac89f23b8d089104ce61cdd42e3..a0e50cb681a5a4ade1ab1c9a840fd1ff73093968 100644 (file)
@@ -59,7 +59,7 @@ sub handler {
     # See Maypole::Workflow before trying to understand this.
     my ( $class, $req ) = @_;
     $class->init unless $class->init_done;
-    my $r = bless { config => $class->config }, $class;
+    my $r = bless { template_args => {}, config => $class->config }, $class;
     $r->get_request($req);
     $r->parse_location();
     my $status = $r->handler_guts();