Stop calling class data methods on instances + commented out warning
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Dispatcher.pm
index 9d2ae4a..3d6573b 100644 (file)
@@ -335,7 +335,7 @@ sub _invoke_as_component {
                 reverse   => "$component_class->$method",
                 class     => $component_class,
                 namespace => Catalyst::Utils::class2prefix(
-                    $component_class, $c->config->{case_sensitive}
+                    $component_class, ref($c)->config->{case_sensitive}
                 ),
             }
         );
@@ -619,9 +619,6 @@ sub _display_action_tables {
     my $col1_width = ($avail_width * .25) < 20 ? 20 : int($avail_width * .25);
     my $col2_width = ($avail_width * .50) < 36 ? 36 : int($avail_width * .50);
     my $col3_width =  $avail_width - $col1_width - $col2_width;
-    $c->log->debug("col1: $col1_width");
-    $c->log->debug("col2: $col2_width");
-    $c->log->debug("col3: $col3_width");
     my $privates = Text::SimpleTable->new(
         [ $col1_width, 'Private' ], [ $col2_width, 'Class' ], [ $col3_width, 'Method' ]
     );