[Catalyst] Path is "/"

Tomas Doran bobtfish at bobtfish.net
Tue Sep 6 13:47:51 GMT 2011


On 6 Sep 2011, at 14:34, Nick wrote:

> Catalyst isn't dispatching how I expected.  A 'Login' controller has

This is due to you mixing path and chained actions. The path actions  
take higher priority if they're able to match at all..

>  [debug] Loaded Path actions:
>  .------------------------------------- 
> +--------------------------------------.
>  | Path                                |  
> Private                              |
>  +------------------------------------- 
> +--------------------------------------+
>  | /                                   | / 
> index                               |
>  | /...                                | / 
> default                             |

Try changing this to sub default : Chained('/') Args()

and see if that helps?

Cheers
t0m




More information about the Catalyst mailing list