[Catalyst] Plugin::SubRequest nothing for identify a subrequest
JOUANNE Mickael
mickael at gandi.net
Fri Mar 24 17:31:04 CET 2006
Hi.
We want to identify subrequest for make some redirect or not.
But in Plugin::SubRequest the is nothing for it.
Here is the patch
Thanks.
--
Mickael JOUANNE // email: mickael at gandi.net
Gandi
* If Linux doesn't have the solution, you have the wrong problem *
-------------- next part --------------
Index: lib/Catalyst/Plugin/SubRequest.pm
===================================================================
--- lib/Catalyst/Plugin/SubRequest.pm (revision 273)
+++ lib/Catalyst/Plugin/SubRequest.pm (revision 276)
@@ -3,5 +3,5 @@
use strict;
-our $VERSION = '0.10';
+our $VERSION = '0.10.1';
@@ -49,4 +49,5 @@
local $c->req->{path};
local $c->req->{params};
+ local $c->req->{is_a_subrequest} = 1;
$c->req->path($path);
More information about the Catalyst
mailing list