From 1ac110f4ecb782e381db456a3326ff71cb96a73e Mon Sep 17 00:00:00 2001 From: Marcus Ramberg Date: Mon, 27 Sep 2004 20:44:41 +0000 Subject: [PATCH] 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 --- lib/Maypole/Config.pm | 3 ++- lib/Maypole/Model/CDBI/Plain.pm | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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; -- 2.39.2