On Nov 8, 2006, at 10:10 AM, Bill Moseley wrote:

On Wed, Nov 08, 2006 at 08:18:49AM -0500, Jason Kohles wrote:
site/wrapper:
[%
    IF template.name.match('\.(css|js|txt)') OR nowrap OR
template.nowrap;
        debug("Passing page through as text: $template.name");
        content;

Is your css and javascript dynamically generated?

Some of it is, although I tend to include $stash->{ nowrap } = 1 for those, so the template name matching is somewhat redundant...

--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
"A witty saying proves nothing."  -- Voltaire



_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to