[Catalyst] Path is "/"

Tomas Doran bobtfish at bobtfish.net
Tue Sep 6 14:17:08 GMT 2011


On 6 Sep 2011, at 15:12, Nick wrote:

> On 2011-09-06 14:47, Tomas Doran wrote:
>> 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()
>
> Like this -
>
>   sub default :Chained('/') :Args() {..}
>
> - in the Root controller?  Sadly, it did not help, the default action
> still runs.
>
> I put a debug message into Catalyst::Dispatcher and it reports
>

I have no idea what this actually means, sorry

> But I do not see why.

Nor do I, probably as you've only provided us snippets.

Fancy sharing the full debug startup for the app (with my suggested  
change) and the request in question?

Cheers
t0m




More information about the Catalyst mailing list