From: Tomas Doran Date: Sat, 8 May 2010 21:35:55 +0000 (+0000) Subject: Doc fixes X-Git-Tag: v0.35~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=75dc0329803c2bee0fd5b4d91f4fca7a93b6d724;hp=131a8e59e7617828f50b8178d1898e630d23696f;p=catagits%2FCatalyst-View-TT.git Doc fixes --- diff --git a/Changes b/Changes index 75e7748..ecb5cb3 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,8 @@ Revision history for Perl extension Catalyst::View::TT. - 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 diff --git a/lib/Catalyst/View/TT.pm b/lib/Catalyst/View/TT.pm index 4084fe2..07b3e2d 100644 --- a/lib/Catalyst/View/TT.pm +++ b/lib/Catalyst/View/TT.pm @@ -544,9 +544,9 @@ N.B. This is usually done automatically by L. Renders the given template and returns output. Throws a L 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 set to C< << $c->req->base >>, C to C<$c> and C 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 set to C<< $c->req->base >>, C to C<$c> and C to C<< $c->config->{name} >>. Alternately, the C 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 and