Skip Menu |
 

This queue is for tickets about the Catalyst-View-TT CPAN distribution.

Report information
The Basics
Id: 15941
Status: rejected
Priority: 0/
Queue: Catalyst-View-TT

People
Owner: Nobody in particular
Requestors: garitar
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: TEMPLATE_EXTENSION not working
Download (untitled) / with headers
text/plain 239b
Line 292 should read: my $template = ($c->stash->{template} || $c->request->match) . $self->config->{TEMPLATE_EXTENSION}; instead of: my $template = $c->stash->{template} || $c->request->match . $self->config->{TEMPLATE_EXTENSION};
Date: Sat, 19 Nov 2005 10:00:11 +0100
From: Marcus Ramberg <marcus [...] thefeed.no>
To: bug-Catalyst-View-TT [...] rt.cpan.org
Subject: Re: [cpan #15941] TEMPLATE_EXTENSION not working
RT-Send-Cc:
Download (untitled) / with headers
text/plain 670b
uh, then it would use template extension for hardcoded templates as well. that's not good, imo. Marcus On 11/18/05, Guest via RT <bug-Catalyst-View-TT@rt.cpan.org> wrote: Show quoted text
> > This message about Catalyst-View-TT was sent to you by guest <> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=15941 > > > Line 292 should read: > > my $template = ($c->stash->{template} || $c->request->match) > . $self->config->{TEMPLATE_EXTENSION}; > > instead of: > > my $template = $c->stash->{template} > || $c->request->match . $self->config->{TEMPLATE_EXTENSION}; >
-- With regards Marcus Ramberg
As noted, manually specified templates must specifically include an extension as well.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.