From 0b0acd510ee61ebd6aed0cd4f9213bcb5f6ebd97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Sat, 8 Oct 2011 21:03:48 -0700 Subject: [PATCH] Document the 'c' stash variable (RT#70866, Matthias Bethke) --- Changes | 1 + lib/Mojolicious/Plugin/TtRenderer.pm | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/Changes b/Changes index 0ea1330..7bab078 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Revision history for MojoX-Renderer-TT {{$NEXT}} + - Document the 'c' stash variable (RT#70866, Matthias Bethke) 1.20 August 1, 2011 - Drop use of MojoX namespace for Mojolicious::Plugin::TtRenderer:: diff --git a/lib/Mojolicious/Plugin/TtRenderer.pm b/lib/Mojolicious/Plugin/TtRenderer.pm index f467d21..b5a7d0d 100644 --- a/lib/Mojolicious/Plugin/TtRenderer.pm +++ b/lib/Mojolicious/Plugin/TtRenderer.pm @@ -52,6 +52,12 @@ L and implements the following new ones. Register renderer in L application. +=head1 EXTRA STASH VARIABLES + +The current controller instance can be accessed as C. + + [% c.req.headers.host %] + =head1 SEE ALSO L, L, L, L.