[Catalyst] context object in TT

Adeola Awoyemi adeola at digitalcraftsmen.net
Thu Mar 15 18:00:33 GMT 2007


On 15 Mar 2007, at 17:01, rahed wrote:

> [% c.config.name %] in the template, nothing is shown.

I think this needs to be:

[% Catalyst.config.name %]


>
> I call template like this:
>
> $c->stash->{template}->'books/view.tt2';

And this needs to be:

   $c->stash->{template} =  'books/view.tt2';

HTH,

Adeola.




More information about the Catalyst mailing list