Rewrite C3 chunk of Catalyst::Upgrading to hopefully be more clear
[catagits/Catalyst-Runtime.git] / lib / Catalyst.pm
index a9b1801..28a2baa 100644 (file)
@@ -2166,7 +2166,7 @@ sub setup_components {
 =cut
 
 sub _controller_init_base_classes {
-    my ($class, $component) = @_;
+    my ($app_class, $component) = @_;
     foreach my $class ( reverse @{ mro::get_linear_isa($component) } ) {
         Moose->init_meta( for_class => $class )
             unless find_meta($class);