X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole.pm;h=6e41ee7d3e56f88428bfdd022ce1c04f719762f2;hb=7637da3c79552ce54e8b71b880af799ddfd64eca;hp=eed0c74aa1a49ac89f23b8d089104ce61cdd42e3;hpb=fef379e5f473ed4f21f9dc5fa6c36bf46a6b9729;p=maypole.git diff --git a/lib/Maypole.pm b/lib/Maypole.pm index eed0c74..6e41ee7 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -6,7 +6,7 @@ use warnings; use Maypole::Config; use Maypole::Constants; -our $VERSION = '2.03'; +our $VERSION = '2.04'; __PACKAGE__->mk_classdata($_) for qw( config init_done view_object ); __PACKAGE__->mk_accessors( @@ -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();