test cases and fixes for the nested param data handler
[catagits/Catalyst-Runtime.git] / t / lib / TestDataHandlers / Controller / Root.pm
CommitLineData
e2aa4a21 1package TestDataHandlers::Controller::Root;
2
3use base 'Catalyst::Controller';
4
5sub test_json :Local {
6 my ($self, $c) = @_;
7 $c->res->body($c->req->body_data->{message});
8}
9
3eba0dd5 10sub test_nested_for :Local {
11 my ($self, $c) = @_;
12 $c->res->body($c->req->body_data->{nested}->{value});
13}
14
e2aa4a21 151;