[Catalyst] tutorial - adding "auth" function

Mark Blythe list at markblythe.com
Thu Jun 8 17:27:21 CEST 2006


On 6/8/06, Matt S Trout <dbix-class at trout.me.uk> wrote:

> I like checking ($c->action->reverse eq 'users/login') myself.

Ok, I have to ask. How did this method end up being named "reverse"?
What does it reverse?

Wouldn't something like "private_path" be more ... intuitive?  I would
likely never have found this method on my own simply because of the
name.



More information about the Catalyst mailing list