On Thu, Mar 15, 2007 at 06:00:33PM +0000, Adeola Awoyemi wrote:
> 
> 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 %]

C::V::TT has:

sub template_vars {
    my ( $self, $c ) = @_;

    my $cvar = $self->config->{CATALYST_VAR};

    defined $cvar
      ? ( $cvar => $c )
      : (
        c    => $c,
        base => $c->req->base,
        name => $c->config->{name}
      )
}

-- 
Bill Moseley
[EMAIL PROTECTED]


_______________________________________________
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