projects
/
catagits/Catalyst-View-Component-SubInclude.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f2e02b93a3961f3494b4602f60558c82a75231a1
[catagits/Catalyst-View-Component-SubInclude.git]
/
lib
/
Catalyst
/
View
/
Component
/
SubInclude
/
ESI.pm
1
package Catalyst::View::Component::SubInclude::ESI;
2
use warnings;
3
use strict;
4
5
sub generate_subinclude {
6
my $class = shift;
7
my $c = shift;
8
my $url = $c->uri_for( @_ );
9
return '<!--esi <esi:include src="' . $url->path . '" /> -->';
10
}
11
12
1;