projects
/
catagits/Catalyst-View-Component-SubInclude.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Switch subinclude generation to being called on instances.
[catagits/Catalyst-View-Component-SubInclude.git]
/
lib
/
Catalyst
/
View
/
Component
/
SubInclude
/
ESI.pm
diff --git
a/lib/Catalyst/View/Component/SubInclude/ESI.pm
b/lib/Catalyst/View/Component/SubInclude/ESI.pm
index
8909f9f
..
259f8cc
100644
(file)
--- a/
lib/Catalyst/View/Component/SubInclude/ESI.pm
+++ b/
lib/Catalyst/View/Component/SubInclude/ESI.pm
@@
-55,7
+55,7
@@
common interface for plugins.
=cut
sub generate_subinclude {
- my ($class, $config, $c, $path, @params) = @_;
+ my ($self, $c, $path, @params) = @_;
my $uri = $c->uri_for_action( $path, @params );