[Catalyst] Did $c->req->arguments processing change?
Sebastian Riedel
sri at oook.de
Fri Nov 11 10:29:11 CET 2005
Am 11.11.2005 um 07:39 schrieb Bill Moseley:
> I'm trying to stay away from using default, but I have one controller
> where I still (try to) use default() like a normal/local action.
>
> On a default action the arguments include all the path segments, not
> just the parts after the "namespace".
>
> So to make it work like other actions I was shifting off the
> controller's namespace -- leaving just the arguments.
Btw. You can now use a Path action instead of default.
sub foo : Path {}
This will do exactly what you want.
--
sebastian
More information about the Catalyst
mailing list