From: Marcus Ramberg Date: Mon, 27 Sep 2004 20:44:41 +0000 (+0000) Subject: Fixed documentation bug in ::Plain (base class) X-Git-Tag: 2.10~151 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=1ac110f4ecb782e381db456a3326ff71cb96a73e;p=maypole.git Fixed documentation bug in ::Plain (base class) Added some missing accessors to ::Config git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@211 48953598-375a-da11-a14b-00016c27c3ee --- diff --git a/lib/Maypole/Config.pm b/lib/Maypole/Config.pm index 21b848f..e0bf6ee 100644 --- a/lib/Maypole/Config.pm +++ b/lib/Maypole/Config.pm @@ -8,7 +8,8 @@ use warnings; # Public accessors. __PACKAGE__->mk_accessors( qw( view uri_base template_root model loader display_tables ok_tables - rows_per_page dsn user pass opts) + rows_per_page dsn user pass opts application_name document_encoding + content_type) ); # Should only be modified by model. diff --git a/lib/Maypole/Model/CDBI/Plain.pm b/lib/Maypole/Model/CDBI/Plain.pm index 114eb88..2c2d869 100644 --- a/lib/Maypole/Model/CDBI/Plain.pm +++ b/lib/Maypole/Model/CDBI/Plain.pm @@ -22,7 +22,7 @@ Maypole::Model::CDBI::Plain - Class::DBI model without ::Loader =head1 SYNOPSIS package Foo; - use base 'Apache::DBI'; + use base 'Maypole::Application'; use Foo::SomeTable; use Foo::Other::Table;