X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=30e3854e9b6494ba8eec50d687770430509c0250;hb=fa6607ec462952bf12734ebf958796c88c917130;hp=6df1fd8433b65727d8c9508f841c362a9fcdd05c;hpb=dca40344fa6ddcb00a4a1261cb65330f7e08f4bd;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 6df1fd8..30e3854 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -2317,10 +2317,7 @@ The C config option is passed to both of the above methods. =cut sub setup_components { - my $class = shift; - # FIXME - I believe I shouldn't be handing $class over - # Just don't know how to solve this. - return $class->container->setup_components( $class ); + shift->container->resolve( service => 'setup_components' ); } # FIXME - removed locate_components