X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=b60196207d6739bb3382abed49ff634195d362f8;hb=829b22f766b0b1d1a09a6ce152abe48ad9bde5ec;hp=304fff0d2c1c1ba78c3626323941eac2c1c14dda;hpb=ee8963de51038687df873c7e95422cb3a3adf499;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 304fff0..b601962 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -2215,7 +2215,10 @@ sub setup_component { my $suffix = Catalyst::Utils::class2classsuffix( $component ); my $config = $class->config->{ $suffix } || {}; - + $config->{_component_name} = $component; # Put this in args here, rather + # than in COMPONENT as there + # are lots of custom COMPONENT + # methods.. my $instance = eval { $component->COMPONENT( $class, $config ); }; if ( my $error = $@ ) { @@ -2740,6 +2743,8 @@ Gary Ashton Jones Geoff Richards +hobbs: Andrew Rodland + ilmari: Dagfinn Ilmari Mannsåker jcamacho: Juan Camacho @@ -2754,6 +2759,8 @@ Johan Lindstrom jon: Jon Schutz +konobi: Scott McWhirter + marcus: Marcus Ramberg miyagawa: Tatsuhiko Miyagawa