Aristotle Pagaltzis schrieb: > * monkey <[email protected]> [2009-09-29 14:35]: >> Is there another way to do the above without having to write >> the auth handling at the top of every method used to display >> pages? > > Chained dispatch. Do an auth check early in the chain, then the > actions down the chain don’t need to do it.
Here I have a question: What is the recommended way to leave a chain - eg. to show a login form? detach? Exceptions (with "die") don't work, since all Catalyst actions are wrapped in evals. _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
