X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole.pm;h=3fcfd159a835442d78ec806fdb1c948765e25efd;hb=5a2a936da63a8463429f3cd486104d5410e73c04;hp=2f609d8b0496b1838e5069b403e1f5273afcdc1b;hpb=f19715f56244cc6d862169c2dd656b8a2f3845b5;p=maypole.git diff --git a/lib/Maypole.pm b/lib/Maypole.pm index 2f609d8..3fcfd15 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -457,8 +457,9 @@ sub handler : method { } sub component { + my ($r,$path) = @_; my $component = Maypole::Components->new(@_); - return $component->handler; + return $component->handler($path); }