Good morning,
On 6/03/11 at 5:36 AM -0600, John M. Dlugosz
<wxju46g...@snkmail.com> wrote:
I'd like to set flags based on what that contains, like "send
SVG images". Where would I put that in MyApp so it gets called
some time before rendering the view?
I do browser detection (checking) in the `auto` method (so I can
redirect to 'upgrade browser' page). But it could also be done
in the `end` method if you just want to put stuff in stash for
the view. If you've got a base method that all other actions
chain from (which seems to be current best practices) then you
could put it there too.
Charlie
--
Ꮚ Charlie Garrison ♊ <garri...@zeta.org.au>
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠 http://www.ietf.org/rfc/rfc1855.txt
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/