fixed bug where class_resolver was mistakenly clobbered in compose_connection
Dan Kubb [Wed, 28 Sep 2005 10:38:49 +0000 (10:38 +0000)]
lib/DBIx/Class/Schema.pm

index d704d82..032ac81 100644 (file)
@@ -100,7 +100,7 @@ sub compose_connection {
         return $map{$to_map};
       };
   }
-  $conn_class->class_resolver($target);
+  $conn_class->class_resolver->class($target);
 }
 
 sub setup_connection_class {