[Dancer-users] template with { layout => undef } doesn't seem to work

ambs ambs+dancer at perl-hackers.net
Thu May 12 17:51:38 CEST 2011


> I followed this:
> http://search.cpan.org/~sukria/Dancer-1.3014/lib/Dancer/Cookbook.pod#TT%27s_WRAPPER_directive_in_Dancer_%28META_variables,_SETs%29
>
> So I'm using TT "wrapper" (but yes, I'm also using the TT Dancer
> plugin).  Is there a similar way to disable the wrapper for a specific
> call to template()?

Ahs, ok. Do not think so. Just adding a conditional block around it, 
accordingly with some flag...? no idea...



More information about the Dancer-users mailing list