make the request object available through the generator object
authorTony Cook <tony@develop-help.com>
Sat, 2 Nov 2013 00:39:40 +0000 (11:39 +1100)
committerTony Cook <tony@develop-help.com>
Sat, 2 Nov 2013 00:39:40 +0000 (11:39 +1100)
for first pass template processing

site/cgi-bin/modules/Generate.pm

index 37fa5a6..c51b6a4 100644 (file)
@@ -313,7 +313,7 @@ Conditional tag, true if the current article is being embedded.
 
 =cut
 
-our $VERSION = "1.019";
+our $VERSION = "1.020";
 
 my $excerptSize = 300;
 
@@ -344,6 +344,10 @@ sub cfg {
   $_[0]{cfg};
 }
 
+sub request {
+  $_[0]{request};
+}
+
 sub url {
   my ($self, $article, $force_abs) = @_;