Revision history for Perl extension Catalyst::Plugin::Static.
+0.05 Sat Mar 19 20:27:00 2005
+ - Added a log message in debug mode.
0.04 Sat Mar 19 20:27:00 2005
- Updated forward to cat5 style
- Using Catalyst::Dispatch::dispatch instead of forward.
$old_req{action} = $c->req->action;$c->req->action(undef);
$old_req{path} = $c->req->path;$c->req->path($path);
$c->prepare_action();
+ $c->log->debug("Subrequest to $path , action is ".
+ $c->req->action )
+ if $c->debug;
$c->dispatch();
my $output = $c->res->output;
$c->{stash} = $old_req{stash};