projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
test cases and fixes for the nested param data handler
[catagits/Catalyst-Runtime.git]
/
t
/
lib
/
TestDataHandlers
/
Controller
/
Root.pm
diff --git
a/t/lib/TestDataHandlers/Controller/Root.pm
b/t/lib/TestDataHandlers/Controller/Root.pm
index
42bf85b
..
3aa45f4
100644
(file)
--- a/
t/lib/TestDataHandlers/Controller/Root.pm
+++ b/
t/lib/TestDataHandlers/Controller/Root.pm
@@
-7,4
+7,9
@@
sub test_json :Local {
$c->res->body($c->req->body_data->{message});
}
+sub test_nested_for :Local {
+ my ($self, $c) = @_;
+ $c->res->body($c->req->body_data->{nested}->{value});
+}
+
1;