[Catalyst-commits] r7835 -
trunk/Catalyst-View-Mason/lib/Catalyst/View
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Wed May 28 14:46:53 BST 2008
Author: rafl
Date: 2008-05-28 14:46:52 +0100 (Wed, 28 May 2008)
New Revision: 7835
Modified:
trunk/Catalyst-View-Mason/lib/Catalyst/View/Mason.pm
Log:
Add examples and default value to the docs for all options.
Modified: trunk/Catalyst-View-Mason/lib/Catalyst/View/Mason.pm
===================================================================
--- trunk/Catalyst-View-Mason/lib/Catalyst/View/Mason.pm 2008-05-28 13:46:44 UTC (rev 7834)
+++ trunk/Catalyst-View-Mason/lib/Catalyst/View/Mason.pm 2008-05-28 13:46:52 UTC (rev 7835)
@@ -251,6 +251,8 @@
This string is appended (if present) to C<< $c->action >> when generating a
template path.
+Defaults to an empty string.
+
Example: C<< template_extension => '.html' >>
=item C<always_append_template_extension>
@@ -258,6 +260,10 @@
Set this to a true value if you want C<template_extension> to be appended to
the component path even if it was explicitly set.
+Defaults to 0.
+
+Example: C<< always_append_template_extension => 1 >>
+
=item C<use_match>
Use C<$c-E<gt>request-E<gt>match> instead of C<$c-E<gt>action> to determine
@@ -267,6 +273,8 @@
Currently defaults to 1, to avoid breaking older code, but new code should
always set this to 0.
+Example: C<< use_match => 0 >>
+
=back
The default HTML::Mason::Interp config options are as follows:
More information about the Catalyst-commits
mailing list