X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole%2FConfig.pm;h=040a4c8e8baa0975d9a3bffcebca788a57655e01;hb=07f3f8fcee38924da9aa2b78864a61843a4fd84b;hp=cc9a9f59250b9a9faa74f4689b3629e7991c3b65;hpb=b6e2413ee413ce21b28429c05bbcc3f516a0754a;p=maypole.git diff --git a/lib/Maypole/Config.pm b/lib/Maypole/Config.pm index cc9a9f5..040a4c8 100644 --- a/lib/Maypole/Config.pm +++ b/lib/Maypole/Config.pm @@ -5,12 +5,13 @@ use attributes (); use strict; use warnings; -our $VERSION = "1." . sprintf "%04d", q$Rev$ =~ /: (\d+)/; +our $VERSION = "1." . sprintf "%04d", q$Rev: 334 $ =~ /: (\d+)/; # Public accessors. __PACKAGE__->mk_accessors( - qw( view view_options uri_base template_root model loader display_tables - ok_tables rows_per_page dsn user pass opts application_name) + qw( view view_options uri_base template_root template_extension model + loader display_tables ok_tables rows_per_page dsn user pass opts + application_name) ); # Should only be modified by model. @@ -46,6 +47,10 @@ Optional. Contains a list of all tables, if supported by model. +=head3 template_extension + +Optional template file extension. + =head3 template_root This is where your application can find its templates.