Add docs to main module
[catagits/Catalyst-View-Component-SubInclude.git] / lib / Catalyst / View / Component / SubInclude / ESI.pm
CommitLineData
30726632 1package Catalyst::View::Component::SubInclude::ESI;
2use warnings;
3use strict;
4
5sub 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
121;