]> git.decadent.org.uk Git - maypole.git/commitdiff
Docs.
authorSimon Cozens <simon@simon-cozens.org>
Wed, 11 Feb 2004 15:53:05 +0000 (15:53 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Wed, 11 Feb 2004 15:53:05 +0000 (15:53 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@61 48953598-375a-da11-a14b-00016c27c3ee

lib/Maypole.pm

index b55f4f810ef18a0bed337f5ace24765868062914..4f73848fd700a6b9320de342f16e094c4997d72b 100644 (file)
@@ -190,6 +190,9 @@ subclass the model class, and configure your class slightly differently:
         $r->template("template_name");
     }
 
+Then your top-level application package should change the model class:
+(Before calling C<setup>)
+
     ProductDatabase->config->{model_class} = "ProductDatabase::Model";
 
 (The C<:Exported> attribute means that the method can be called via the