On Mon, Apr 6, 2009 at 11:26 AM, Andrew Rodland <arodl...@comcast.net>wrote:

>
> Set 'page' to something that doesn't start with a slash?
>
> Andrew
>
>
> _______________________________________________
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>

Thanks, but that's not exactly what's going on.  I'm trying to process a
template located at $page/menu.tt2 for each section of my site.  I tried
passing $page to the name of the subsection, so if I set $c->stash->{page} =
'foo' I want to process "foo/menu.tt2"

The file starts with a slash because $page is evaluating to nothing.

Thanks,
Matt
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to