Fixed bug where if encoding was set in the config file it wasn't used,
[catagits/Catalyst-Runtime.git] / lib / Catalyst.pm
index 4e62289..d796e12 100644 (file)
@@ -3001,7 +3001,7 @@ the plugin name does not begin with C<Catalyst::Plugin::>.
                 () }
                 : $_
         } @$plugins ];
-        unshift @$plugins, $class->_default_plugins;
+        push @$plugins, $class->_default_plugins;
         $plugins = Data::OptList::mkopt($plugins || []);
 
         my @plugins = map {