[Catalyst] Question about Chained Controller

Larry Leszczynski larryl at emailplus.org
Mon Nov 15 16:13:50 GMT 2010

Hi Woosely Xu -

On Mon, 15 Nov 2010 10:32 +0800, "woosley. xu." <redicaps at gmail.com>
> I am still wondering why forward dose not working in my way, and I
> just find detach('login') works good.

Because forward() returns to the action from which it was called, and
detach() does not:


So even though you are forwarding to your login() method, upon return it
will continue processing your get() method.


More information about the Catalyst mailing list