projects
/
catagits/Catalyst-View-Component-SubInclude.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
de60fb1
)
Fix visit
Tomas Doran [Sun, 24 Jan 2010 16:10:35 +0000 (16:10 +0000)]
lib/Catalyst/View/Component/SubInclude/Visit.pm
patch
|
blob
|
blame
|
history
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};
}