X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FApache%2FMVC.pm;h=61e07640cfb8976dfc519e63d60d1f3fb2272250;hb=5cccc5a89004f9c514e9d611b5e2a02e9aa28ece;hp=4b1a60005750c186b7659cdefa224e01b72afee0;hpb=727e28be9837a49a27e024e5ee68c33da59039e0;p=maypole.git diff --git a/lib/Apache/MVC.pm b/lib/Apache/MVC.pm index 4b1a600..61e0764 100644 --- a/lib/Apache/MVC.pm +++ b/lib/Apache/MVC.pm @@ -8,7 +8,7 @@ use strict; use warnings; our $VERSION = "0.1"; __PACKAGE__->mk_classdata($_) for qw( _config init_done view_object ); -__PACKAGE__->mk_accessors ( qw( config ar params objects model_class +__PACKAGE__->mk_accessors ( qw( config ar params query objects model_class args action template )); __PACKAGE__->config({}); __PACKAGE__->init_done(0); @@ -109,6 +109,7 @@ sub parse_location { $self->{args} = \@pi; $self->{params} = { $self->{ar}->content }; + $self->{query} = { $self->{ar}->args }; } sub is_applicable {