]> git.decadent.org.uk Git - maypole.git/commitdiff
possible fix for components, added another test to MANIFEST
authorAaron Trevena <aaron.trevena@gmail.com>
Wed, 12 Apr 2006 13:57:40 +0000 (13:57 +0000)
committerAaron Trevena <aaron.trevena@gmail.com>
Wed, 12 Apr 2006 13:57:40 +0000 (13:57 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@475 48953598-375a-da11-a14b-00016c27c3ee

MANIFEST
lib/Maypole.pm

index ea6ab4ee61fdeea15fc92fdda667bd1c85475e06..a8387198741ffaff287e02f62b799df5ac83b5f6 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -38,6 +38,7 @@ META.yml                      Module meta-data (added by MakeMaker)
 README
 AUTHORS
 t/01basics.t
+t/01.httpd-basic.t
 t/02pod.t
 t/03podcoverage.t
 t/apache_mvc.t
index 64e5a1a886c877d8aa59475426ff63f7f9714070..59b519706c939f83fb774b16d685295fe88e5a4e 100644 (file)
@@ -487,8 +487,9 @@ You should not fully qualify the Maypole URLs.
 
 sub component {
     my ( $r, $path ) = @_;
-    my $self = bless { parent => $r }, ref $r;
+    my $self = bless { parent => $r, config => $r->{config} }, ref $r;
     my $url = URI->new($path);
+    warn "path : $path\n";
     $self->{path} = $url->path;
     $self->parse_path;
     $self->params( $url->query_form_hash );