Document the 'c' stash variable (RT#70866, Matthias Bethke)

This commit is contained in:
Ask Bjørn Hansen
2011-10-08 21:04:17 -07:00
parent 0527eee24a
commit 0b0acd510e
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -52,6 +52,12 @@ L<Mojolicious::Plugin> and implements the following new ones.
Register renderer in L<Mojolicious> application.
=head1 EXTRA STASH VARIABLES
The current controller instance can be accessed as C<c>.
[% c.req.headers.host %]
=head1 SEE ALSO
L<Mojolicious::Plugin::TtRenderer::Engine>, L<Mojolicious>, L<Mojolicious::Guides>, L<http://mojolicious.org>.