bloody svn ... Changes file
[catagits/Catalyst-Plugin-SubRequest.git] / README
CommitLineData
aae30f91 1NAME
ad73ee58 2 Catalyst::Plugin::SubRequest - Make subrequests to actions in Catalyst
aae30f91 3
4SYNOPSIS
ad73ee58 5 use Catalyst 'SubRequest';
aae30f91 6
ad73ee58 7 $c->subreq('/test/foo/bar', { template => 'magic.tt' });
8
9 $c->subreq( { path => '/test/foo/bar',
10 body => $body },
11 { template => 'magic.tt' });
aae30f91 12
13DESCRIPTION
ad73ee58 14 Make subrequests to actions in Catalyst. Uses the catalyst dispatcher,
15 so it will work like an external url call.
16
17METHODS
18 subreq [path as string or hash ref], [stash as hash ref], [parameters as
19 hash ref]
20 sub_request
21 Takes a full path to a path you'd like to dispatch to. If the path
22 is passed as a hash ref then it can include body, action, match and
23 path. Any additional parameters are put into the stash.
aae30f91 24
aae30f91 25SEE ALSO
26 Catalyst.
27
de181610 28AUTHORS
ad73ee58 29 Marcus Ramberg, "mramberg@cpan.org"
30
de181610 31 Tomas Doran (t0m) "bobtfish@bobtfish.net"
32
ad73ee58 33THANK YOU
34 SRI, for writing the awesome Catalyst framework
aae30f91 35
36COPYRIGHT
de181610 37 Copyright (c) 2005 - 2008 the Catalyst::Plugin::SubRequest "AUTHORS" as
61114b68 38 listed above.
39
40LICENSE
aae30f91 41 This program is free software, you can redistribute it and/or modify it
42 under the same terms as Perl itself.
43