X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FView%2FComponent%2FSubInclude%2FVisit.pm;h=22e2c9030aa13029050ff1427da71ecdf82361d8;hb=be1a109247778c4c844eeeeab1cf303e09175871;hp=d1a391709dd6c775eae54dbcdc4a27ceec69446f;hpb=9399de67c73e690611087f7aa359537a7bef4b46;p=catagits%2FCatalyst-View-Component-SubInclude.git diff --git a/lib/Catalyst/View/Component/SubInclude/Visit.pm b/lib/Catalyst/View/Component/SubInclude/Visit.pm index d1a3917..22e2c90 100644 --- a/lib/Catalyst/View/Component/SubInclude/Visit.pm +++ b/lib/Catalyst/View/Component/SubInclude/Visit.pm @@ -73,7 +73,7 @@ sub generate_subinclude { local $c->response->{body}; my $captures = ref $params[0] eq 'ARRAY' ? shift @params : []; - $c->visit( $path, \@params, $captures ); + $c->visit( $path, $captures, \@params ); return $c->response->{body}; }