[Catalyst] Literal controller

Chisel Wright chisel at herlpacker.co.uk
Wed Nov 30 11:01:46 CET 2005


On Wed, Nov 30, 2005 at 03:52:24PM +1000, Maxim Nechaev wrote:
> sub start : Path('/')
> {
>     my ($self, $context) = @_;
>     $context->stash->{template} = 'start.tmpl';
> }


> 
> Looks like handler "start" not called.
> I'am doing something wrong?
> What i need to expect when wrote: "sub start : Path('/')"?
> How to handle root path in my controller?

sub index : Private { ... } perhaps?

-- 
Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/

No virus was found in this outgoing message as I didn't bother looking.



More information about the Catalyst mailing list