Version 0.10
[catagits/Catalyst-View-Component-SubInclude.git] / lib / Catalyst / View / Component / SubInclude / SSI.pm
index 0c94e94..a0a885e 100644 (file)
@@ -8,11 +8,11 @@ Catalyst::View::Component::SubInclude::SSI - Server Side Includes (SSI) plugin f
 
 =head1 VERSION
 
-Version 0.08
+Version 0.10
 
 =cut
 
-our $VERSION = '0.08';
+our $VERSION = '0.10';
 $VERSION = eval $VERSION;
 
 =head1 SYNOPSIS
@@ -38,7 +38,7 @@ Server Side Includes (SSI) include directives. This is a feature implemented by
 Apache (L<http://httpd.apache.org/>), nginx (L<http://wiki.nginx.org/Main>)
 and many other web servers which allows cache-efficient uses of includes.
 
-=head1 CLASS METHODS
+=head1 METHODS
 
 =head2 C<generate_subinclude( $c, $path, @args )>
 
@@ -47,7 +47,7 @@ path is handled internally. After translation, this will roughly translate to
 the following code:
 
   my $url = $c->uri_for( $translated_path, @args )->path_query;
-  return '<!--# include virtual="$url" -->';
+  return '<!--#include virtual="$url" -->';
 
 Notice that the stash will always be empty. This behavior could be configurable
 in the future through an additional switch - for now, this behavior guarantees a
@@ -60,7 +60,7 @@ sub generate_subinclude {
 
     my $uri = $c->uri_for_action( $path, @params );
 
-    return '<!--# include virtual="' . $uri->path_query . '" -->';
+    return '<!--#include virtual="' . $uri->path_query . '" -->';
 }
 
 =head1 SEE ALSO