NAME
Mojolicious::Plugin::TtRenderer - Template Renderer Plugin
SYNOPSIS
# Mojolicious
$self->plugin('tt_renderer');
$self->plugin(tt_renderer => {template_options => {FILTERS => [ ... ]}});
# Mojolicious::Lite
plugin 'tt_renderer';
plugin tt_renderer => {template_options => {FILTERS => [ ... ]}};
DESCRIPTION
Mojolicous::Plugin::TtRenderer is a simple loader for Mojolicious::Plugin::TtRenderer::Engine.
METHODS
Mojolicious::Plugin::TtRenderer inherits all methods from Mojolicious::Plugin and implements the following new ones.
register
$plugin->register;
Register renderer in Mojolicious application.
EXTRA STASH VARIABLES
The current controller instance can be accessed as c
.
[% c.req.headers.host %]
SEE ALSO
Mojolicious::Plugin::TtRenderer::Engine, Mojolicious, Mojolicious::Guides, http://mojolicious.org.
AUTHOR
Current maintainer: Graham Ollis <plicease@cpan.org>
Original author: Ask Bjørn Hansen, <ask at develooper.com>
BUGS
Please report any bugs or feature requests to the project's github issue tracker https://github.com/abh/mojox-renderer-tt/issues?state=open.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Mojolicious::Plugin::TtRenderer
You can also look for information at:
git repository
http://git.develooper.com/?p=MojoX-Renderer-TT.git;a=summary, git://git.develooper.com/MojoX-Renderer-TT.git
CPAN Ratings
Search CPAN
COPYRIGHT & LICENSE
Copyright 2008-2010 Ask Bjørn Hansen, all rights reserved.
Copyright 2012 Graham Ollis.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.