in reply to Re^2: Catalyst controller comparison fails in Root controller auto()
in thread Catalyst controller comparison fails in Root controller auto()
Hi. I hadn't seen that example in the tutorial. It should work, and there may be an underlying bug with -r, but I'm still not convinced that it really represents good practice.
rafl recommended (in #catalyst IRC) doing the following: add a :NoAuth attribute to your login/register/etc. actions (note: actions, not controllers), and then check
to decide whether to bypass auth.if ($c->action->attributes->{NoAuth})
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Catalyst controller comparison fails in Root controller auto()
by smallvaluesof2 (Novice) on Jan 12, 2009 at 20:58 UTC |
In Section
Seekers of Perl Wisdom