projects
/
catagits/Catalyst-Model-DBIC-Schema.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix composition namespace
[catagits/Catalyst-Model-DBIC-Schema.git]
/
lib
/
Catalyst
/
Model
/
DBIC
/
Schema.pm
diff --git
a/lib/Catalyst/Model/DBIC/Schema.pm
b/lib/Catalyst/Model/DBIC/Schema.pm
index
7acec2c
..
c7f7c36
100644
(file)
--- a/
lib/Catalyst/Model/DBIC/Schema.pm
+++ b/
lib/Catalyst/Model/DBIC/Schema.pm
@@
-486,7
+486,7
@@
sub COMPONENT {
sub BUILD {
my $self = shift;
- my $class = ref $self;
+ my $class = $self->_original_class_name;
my $schema_class = $self->schema_class;
if( !$self->connect_info ) {