[dancer-users] Which template is being used?

Yanick Champoux yanick at babyl.dyndns.org
Sun Jun 15 15:58:53 BST 2014


On 14-06-15 12:57 AM, Gabor Szabo wrote:
>
> In "hook before_template" can I find out which template is being used?
>
> Can the template be changed at that point?

Unfortunately 'no' to both (in Dancer 1). The hook is only given the 
tokens, not the template itself.

Joy,
`/anick


More information about the dancer-users mailing list