Document the 'c' stash variable (RT#70866, Matthias Bethke)
This commit is contained in:
1 parent
0527eee24a
commit
0b0acd510e
2 files changed
+7
No files matched your search
@@ -1,6 +1,7 @@
|
|||||||
Revision history for MojoX-Renderer-TT
|
Revision history for MojoX-Renderer-TT
|
||||||
|
|
||||||
{{$NEXT}}
|
{{$NEXT}}
|
||||||
|
- Document the 'c' stash variable (RT#70866, Matthias Bethke)
|
||||||
|
|
||||||
1.20 August 1, 2011
|
1.20 August 1, 2011
|
||||||
- Drop use of MojoX namespace for Mojolicious::Plugin::TtRenderer::
|
- Drop use of MojoX namespace for Mojolicious::Plugin::TtRenderer::
|
||||||
|
|||||||
@@ -52,6 +52,12 @@ L<Mojolicious::Plugin> and implements the following new ones.
|
|||||||
|
|
||||||
Register renderer in L<Mojolicious> application.
|
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
|
=head1 SEE ALSO
|
||||||
|
|
||||||
L<Mojolicious::Plugin::TtRenderer::Engine>, L<Mojolicious>, L<Mojolicious::Guides>, L<http://mojolicious.org>.
|
L<Mojolicious::Plugin::TtRenderer::Engine>, L<Mojolicious>, L<Mojolicious::Guides>, L<http://mojolicious.org>.
|
||||||
|
|||||||
Reference in new issue
Block a user