released 0.8
Marcus Ramberg [Sun, 16 Oct 2005 21:45:25 +0000 (21:45 +0000)]
Changes
META.yml
SubRequest.pm

diff --git a/Changes b/Changes
index a7841b9..493361e 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 Revision history for Perl extension Catalyst::Plugin::Static.
 
+0.08  2005-12-10 01:34:00 
+       - patch to handle NEXT trouble.
 0.07  2005-08-01 12:08:00 
         - reset path.
         - allow passing params.
index 017804d..df4e692 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-Plugin-SubRequest
-version:      0.07
+version:      0.08
 version_from: SubRequest.pm
 installdirs:  site
 requires:
index 10da3b2..609a3a8 100644 (file)
@@ -2,7 +2,7 @@ package Catalyst::Plugin::SubRequest;
 
 use strict;
 
-our $VERSION = '0.07';
+our $VERSION = '0.08';
 
 
 =head1 NAME
@@ -52,6 +52,8 @@ sub sub_request {
     $c->prepare_action();
     $c->log->debug("Subrequest to $path , action is ".  $c->req->action )
         if $c->debug;
+    # FIXME: Hack until proper patch in NEXT.
+    local $NEXT::NEXT{$c,'dispatch'};
     $c->dispatch();
     my $output  = $c->res->output;
     $c->req->{params}=$old_req{params};