Subject: | Documentation bug: controller instance "c" missing |
I just found how to access the current controller instance from TT
templates using the "c" stash variable. It only becomes clear when
reading the code but is missing from the docs. Something like this?
=head1 OTHER RESERVED STASH VARIABLES
The current controller instance can be accessed as C<c>.
[% c.req.headers.host %]