Introduce a way to pass config down into the plugins
authorTomas Doran <bobtfish@bobtfish.net>
Sun, 24 Jan 2010 22:41:08 +0000 (22:41 +0000)
committerTomas Doran <bobtfish@bobtfish.net>
Mon, 15 Feb 2010 22:09:50 +0000 (22:09 +0000)
commit7094e990d51cd17a80ceb30cea0eca4c1295b395
tree46da8c2a963ecb84ff49bdbdad395882dca360d8
parentc2d8d5b5228548588977a1e49c20f494aba8bb20
Introduce a way to pass config down into the plugins

Use this to implement a way to keep the current stash when doing
a subrequest or visit. Docs and tests to follow.

This is also pretty gross, it'd be nicer at this point to make the
plugins instances which are built (and their config merged) on first
use, rather than merging and passing the config down into the class
method every time.
lib/Catalyst/View/Component/SubInclude.pm
lib/Catalyst/View/Component/SubInclude/ESI.pm
lib/Catalyst/View/Component/SubInclude/SubRequest.pm
lib/Catalyst/View/Component/SubInclude/Visit.pm