Ignore:
Timestamp:
11/25/10 02:40:30 (14 years ago)
Author:
nanardon
Message:
  • add pre work for bot
Location:
server/trunk/web/lib/Sophie/Model
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • server/trunk/web/lib/Sophie/Model/Base.pm

    r4 r35  
    22 
    33use strict; 
    4 use base 'Sophie::Base'; 
    5 use base 'Catalyst::Model'; 
     4use base 'Catalyst::Model::DBIC::Schema'; 
    65 
    7 sub new { 
    8     my ($class) = @_; 
    9     bless($class->connect, $class); 
    10 } 
     6__PACKAGE__->config( 
     7    schema_class => 'Sophie::Base', 
     8    connect_info => { 
     9        dsn => 'toto', 
     10    },     
     11     
     12); 
    1113 
    1214=head1 NAME 
    1315 
    14 Sophie::Model::Base - Catalyst DBIC Schema Model 
     16Sophie::Model::Sophie - Catalyst DBIC Schema Model 
    1517 
    1618=head1 SYNOPSIS 
Note: See TracChangeset for help on using the changeset viewer.