projects
/
catagits/Catalyst-View-Component-SubInclude.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix visit
[catagits/Catalyst-View-Component-SubInclude.git]
/
lib
/
Catalyst
/
View
/
Component
/
SubInclude
/
Visit.pm
diff --git
a/lib/Catalyst/View/Component/SubInclude/Visit.pm
b/lib/Catalyst/View/Component/SubInclude/Visit.pm
index
d1a3917
..
22e2c90
100644
(file)
--- 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};
}