X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=720beb1f45c5f473418bd7fb7e937362898c4615;hb=6e2a122233804919a15ceb12793bc9c39b371a22;hp=b7a2c77f3c69afb956d3ee22f4c274a21c84c2a6;hpb=bbb306a9630de32362823ccc0138fdb17adb520b;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index b7a2c77..720beb1 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -1446,9 +1446,7 @@ sub components { my $container = $class->container; if ( $comps ) { - $container->add_component( - $_, $class - ) for keys %$comps; + $container->add_component( $_ ) for keys %$comps; } return $container->get_all_components();