if (
$class->debug and
- my $comps = $class->container->get_all_components
+ my $comps = $class->container->get_all_components($class)
) {
my $column_width = Catalyst::Utils::term_width() - 8 - 9;
my $t = Text::SimpleTable->new( [ $column_width, 'Class' ], [ 8, 'Type' ] );
$container->add_component( $_ ) for keys %$comps;
}
- return $container->get_all_components();
+ return $container->get_all_components($class);
}
=head2 $c->context_class