]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/Components.pm
fixing Components integration
[maypole.git] / lib / Maypole / Components.pm
index b679e8db4c4f1109cc40146b29f16b9ceefb2c17..48c54c7be7290cf7ae8130fd26af5500ade510da 100644 (file)
@@ -6,12 +6,13 @@ use URI;
 use URI::QueryParam;
 
 sub new {
-    my ($class,$r, $path) = @_;
+    my ($class,$r) = @_;
     my $self = bless { config => $r->config, parent => $r }, $class;
 }
 
 sub handler {
     my $self = shift;
+    my $path = shift;
     my $url = URI->new($path);
     $self->{path} = $url->path;
     $self->parse_path;