From: Marcus Ramberg Date: Sun, 24 Apr 2005 19:57:41 +0000 (+0000) Subject: minor improvement. X-Git-Tag: 5.7099_04~1438 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=8f5912113dcd6b0dcd152cfa593fae67cf991ccc minor improvement. --- diff --git a/Changes b/Changes index 0700109..80a4312 100644 --- a/Changes +++ b/Changes @@ -3,14 +3,18 @@ This file documents the revision history for Perl extension Catalyst. 5.11 Sun Apr 24 17:00:00 2005 - improved uploads and parameters - added $c->req->protocol and $c->req->secure + - improved error message when forwarding to unknown module -5.10 Wed Apr 20 18:00:00 2005 +5.10 Sat Apr 23 11:16:00 2005 - updated dependencies to require latest module::pluggable::fast - new installer for templates and stuff using Module::Build - scripts are now prefixed, for being installable IMPORTANT: You have to regenerate the script directory, remove Makefile.PL and add Build.PL - Added compat to install Module::Build if required. + - Improved: Params handling with MP engines + - Fixed: Params handling on POST with CGI engine (Andy Grundman) + - Fixed: Helper.pm on Win32 (Matt S Trout) 5.03 Tue Apr 19 20:35:00 2005 (Revision 462) - fixed Test example (Torsten Seeman) diff --git a/lib/Catalyst/Dispatcher.pm b/lib/Catalyst/Dispatcher.pm index ab305ec..c3ae865 100644 --- a/lib/Catalyst/Dispatcher.pm +++ b/lib/Catalyst/Dispatcher.pm @@ -145,6 +145,7 @@ sub forward { my $method = shift || 'process'; + require $class; if ( my $code = $class->can($method) ) { $c->actions->{reverse}->{"$code"} = "$class->$method"; $results = [ [ [ $class, $code ] ] ];