[Catalyst] $c->detach and $c->action

Carl Franks fireartist at gmail.com
Fri May 18 10:08:09 GMT 2007


On 01/02/07, Matt S Trout <dbix-class at trout.me.uk> wrote:
>
> On 1 Feb 2007, at 02:05, Michael Reece wrote:
>
> > is there something like detach that will also set the current
> > 'action' to the one being detached to?
>
> Not until 5.80 but there's no reason you can't simply set $c->action
> - it -is- an accessor.

I don't see this implemented in current yet.
I've had a go, but don't understand the dispatcher well enough.
If someone could give some pointers as to what it'll entail, I'd be
willing to spend some time and have another go at implementing it.

Also - is the plan that forward() and detach() will do this by
default, or will there be a new method to get this effect?

Cheers,
Carl



More information about the Catalyst mailing list