fixed the inheritance bug
[catagits/Catalyst-Runtime.git] / lib / Catalyst.pm
index 70afecb..1dd09c0 100644 (file)
@@ -194,7 +194,7 @@ sub import {
     die qq/Couldn't load engine "$engine", "$@"/ if $@;
     {
         no strict 'refs';
-        unshift @{"$caller\::ISA"}, $engine;
+        push @{"$caller\::ISA"}, $engine;
     }
     $caller->engine($engine);
     $caller->log->debug(qq/Loaded engine "$engine"/) if $caller->debug;