Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
bobtfish committed Jul 16, 2012
1 parent 298a83b commit a58d7e5
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions README
Expand Up @@ -3,7 +3,7 @@ NAME
views

VERSION
Version 0.10
Version 0.11

SYNOPSIS
package MyApp::View::TT;
Expand Down Expand Up @@ -56,11 +56,25 @@ SUBINCLUDE PLUGINS
the view's configuration options (either in the config file or in the
view module itself).

Configuration file example:

<View::TT>
subinclude_plugin ESI
</View::TT>
__PACKAGE__->config(
subinclude_plugin => 'ESI',
subinclude => {
'SubRequest' => {
keep_stash => 1,
},
'HTTP::POST' => {
class => 'HTTP',
http_method => 'POST',
ua_timeout => '10',
uri_map => {
'/foo/' => 'http://www.foo.com/',
},
},
},
);

You can change each plugins' configuration through the keys in the
'subinclude' config key (example above)

"set_subinclude_plugin( $plugin )"
This method changes the current active subinclude plugin in runtime. It
Expand Down

0 comments on commit a58d7e5

Please sign in to comment.