Subject: | Module uses a poor ACCEPT_CONTEXT form |
Date: | Mon, 1 Sep 2008 16:52:21 +0100 |
To: | bugs-Catalyst-Controller-HTML-FormFu [...] rt.cpan.org |
From: | Matt S Trout <mst [...] shadowcat.co.uk> |
Since the controller is stable per context, you shouldn't be writing a
per-controller()-invocation ACCEPT_CONTEXT.
best solution would be to switch to Catalyst::Component::InstancePerContext
Also, in _setup you're at COMPONENT time so you have $app, not $c.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/