Skip Menu |

This queue is for tickets about the Catalyst-Plugin-AutoTemplate CPAN distribution.

Report information
The Basics
Id: 21147
Status: new
Priority: 0/
Queue: Catalyst-Plugin-AutoTemplate

People
Owner: Nobody in particular
Requestors: andrey [...] kostenko.name
Cc:
AdminCc:

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



Subject: Default template
If I use index, or default handlers, $c->req->match is 'foo/' or '', so template name is foo/.msn or .msn. I think will be better to use default name for template: if (!$c->stash->{'template'}) { $c->stash->{'template'} = $c->req->match; $c->stash->{template}.='default' if $c->stash->{template}=~m|/$| || !$c->stash->{template};