On 23 February 2011 11:30, John M. Dlugosz <[email protected]> wrote:
> I just started trying Catalyst.  I went through the Packt Publishing book, 
> but now want a more technical explanation with details.  Any suggestions on 
> what documentation to read?
>
> With the situation as set-up by default, I would write:
>    <img src="/static/images/bad_logo.png" />
> to access a site image.  How can I configure it so I can write
>    src="foo/bad_logo.png"
> instead?

Using TT, that would be:
    [% c.uri_for('/foo/bad_logo.png') %]

Cheers,
Carl

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to