[Catalyst-commits] r13234 - in Catalyst-View-TT/trunk: .
lib/Catalyst/View
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Sat May 8 21:35:55 GMT 2010
Author: t0m
Date: 2010-05-08 22:35:55 +0100 (Sat, 08 May 2010)
New Revision: 13234
Modified:
Catalyst-View-TT/trunk/Changes
Catalyst-View-TT/trunk/lib/Catalyst/View/TT.pm
Log:
Doc fixes
Modified: Catalyst-View-TT/trunk/Changes
===================================================================
--- Catalyst-View-TT/trunk/Changes 2010-05-08 21:26:43 UTC (rev 13233)
+++ Catalyst-View-TT/trunk/Changes 2010-05-08 21:35:55 UTC (rev 13234)
@@ -2,6 +2,8 @@
- update render_die message to be more concise.
+ - Doc fixes (RT#57159)
+
0.34 2010-04-07 04:14:50
- Fix the process method to have the previous behaviour of reporting
an error to Catalyst if a Template::Exception object is returned by
Modified: Catalyst-View-TT/trunk/lib/Catalyst/View/TT.pm
===================================================================
--- Catalyst-View-TT/trunk/lib/Catalyst/View/TT.pm 2010-05-08 21:26:43 UTC (rev 13233)
+++ Catalyst-View-TT/trunk/lib/Catalyst/View/TT.pm 2010-05-08 21:35:55 UTC (rev 13234)
@@ -544,9 +544,9 @@
Renders the given template and returns output. Throws a L<Template::Exception>
object upon error.
-The template variables are set to C<%$args> if $args is a hashref, or
-$C<< $c->stash >> otherwise. In either case the variables are augmented with
-C<base> set to C< << $c->req->base >>, C<c> to C<$c> and C<name> to
+The template variables are set to C<%$args> if C<$args> is a hashref, or
+C<< $c->stash >> otherwise. In either case the variables are augmented with
+C<base> set to C<< $c->req->base >>, C<c> to C<$c> and C<name> to
C<< $c->config->{name} >>. Alternately, the C<CATALYST_VAR> configuration item
can be defined to specify the name of a template variable through which the
context reference (C<$c>) can be accessed. In this case, the C<c>, C<base> and
More information about the Catalyst-commits
mailing list