X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole.pm;h=62083e82a2c1a8423aa63f2ea9fa13f5dd73ab49;hb=ec6158e614bb29d4e2a11d8cd1b7565816039074;hp=d5d932c4816a32c8e78c4650e6042ffc9b04f938;hpb=81b617ffe75c0d5924595fc5b832733c7bfbcc28;p=maypole.git diff --git a/lib/Maypole.pm b/lib/Maypole.pm index d5d932c..62083e8 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -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) - 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/supersearch/...>.)