From: Marcus Ramberg Date: Sun, 16 Oct 2005 21:45:25 +0000 (+0000) Subject: released 0.8 X-Git-Tag: v0.15~21 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-SubRequest.git;a=commitdiff_plain;h=c82d9501882ae2a504958447100cf6f7774dfdf2 released 0.8 --- diff --git a/Changes b/Changes index a7841b9..493361e 100644 --- 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. diff --git a/META.yml b/META.yml index 017804d..df4e692 100644 --- 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: diff --git a/SubRequest.pm b/SubRequest.pm index 10da3b2..609a3a8 100644 --- a/SubRequest.pm +++ b/SubRequest.pm @@ -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};