[Catalyst] Chained issue?

Ferruccio Zamuner nonsolosoft at diff.org
Sat Nov 16 23:52:26 GMT 2013


Hi,

in controller Account I've defined this action:

sub fox : Chained('/auth/authenticated')
           ChainPart('account')
           Args(0) { ... }

I thought to have defined an action for

  '/account/'

url, instead:

| /fox      | /base (0)                 |
|           | -> /auth/base (0)         |
|           | -> /auth/authenticated (0)|
|           | => /account/fox           |


Why does it gets '/' path with function name instead of '/account/' as 
ChainPart?


Thank you in advance,             \ferz


PS: I'm using CatalystX::Controller::Auth



More information about the Catalyst mailing list