[Catalyst] Question about Chained Controller

Darren Duncan darren at darrenduncan.net
Mon Nov 15 02:14:33 GMT 2010


woosley. xu. wrote:
> Hi All,
>      I am quite a beginner for Catalyst. When I used Chained Controller 
> to handle  some permission pages, I met a problem
<snip>

I don't know if others do it the way you have, but in my limited experience I 
found that an "auto" method is the most appropriate way to intercept people 
going to a protected section with a login screen.  Also, I don't recognize the 
"$c->flash" part of your code; where is flash() defined? -- Darren Duncan



More information about the Catalyst mailing list