]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole.pm
This is 1.2.
[maypole.git] / lib / Maypole.pm
index d5d932c4816a32c8e78c4650e6042ffc9b04f938..08be2fa30621a8c5179c04ff04d37b4f492fe2e1 100644 (file)
@@ -4,7 +4,7 @@ use attributes ();
 use UNIVERSAL::require;
 use strict;
 use warnings;
-our $VERSION = "1.1";
+our $VERSION = "1.2";
 __PACKAGE__->mk_classdata($_) for qw( config init_done view_object );
 __PACKAGE__->mk_accessors ( qw( ar params query objects model_class
 args action template ));
@@ -208,7 +208,7 @@ subclass the model class, and configure your class slightly differently:
 Then your top-level application package should change the model class:
 (Before calling C<setup>)
 
-    ProductDatabase->config->{model_class} = "ProductDatabase::Model";
+    ProductDatabase->config->{model} = "ProductDatabase::Model";
 
 (The C<:Exported> attribute means that the method can be called via the
 URL C</I<table>/supersearch/...>.)