]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Apache/MVC.pm
And now we have paging support. (And some better docs)
[maypole.git] / lib / Apache / MVC.pm
index 4b1a60005750c186b7659cdefa224e01b72afee0..61e07640cfb8976dfc519e63d60d1f3fb2272250 100644 (file)
@@ -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 {