fixed broken helper.
Marcus Ramberg [Mon, 18 Apr 2005 18:32:32 +0000 (18:32 +0000)]
Changes
META.yml
lib/Catalyst/Helper/View/TT.pm
lib/Catalyst/View/TT.pm

diff --git a/Changes b/Changes
index 7371148..006e070 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 Revision history for Perl extension Catalyst::View::TT.
 
+0.11  Fri Apr 15 16:00:00 2005
+        - Fixed broken helper.
 0.10  Fri Apr 15 16:00:00 2005
         - Added POD tests and made them pass.
         - updated for Catalyst 5
index b0700b8..29e687f 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -1,7 +1,7 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         Catalyst-View-TT
-version:      0.10
+version:      0.11
 version_from: lib/Catalyst/View/TT.pm
 installdirs:  site
 requires:
index 991c455..51f6a61 100644 (file)
@@ -23,7 +23,7 @@ Helper for TT Views.
 sub mk_compclass {
     my ( $self, $helper ) = @_;
     my $file = $helper->{file};
-    $helper->mk_file( 'compclass', $file );
+    $helper->render_file( 'compclass', $file );
 }
 
 =head1 SEE ALSO
index db1b580..243a958 100644 (file)
@@ -6,7 +6,7 @@ use Template;
 use Template::Timer;
 use NEXT;
 
-our $VERSION = '0.10';
+our $VERSION = '0.11';
 
 __PACKAGE__->mk_accessors('template');