[Dancer-users] get template command to ignore layout

David Holden dvdhldn at gmail.com
Tue Aug 3 12:19:25 CEST 2010


Hello, I was wondering is it possible to get the template command to
ignore the layout, e.g.

here I want it to use the layout

    template 'index' => $tt2_ds;

but here

   template 'table_result' => $tt2_ds;

I want it to just return the template contents alone, i.e. not wrapped
by the layout - for an ajax response.

Thanks,

 Dave.


More information about the Dancer-users mailing list