test cases and fixes for the nested param data handler
[catagits/Catalyst-Runtime.git] / t / lib / TestDataHandlers / Controller / Root.pm
index 42bf85b..3aa45f4 100644 (file)
@@ -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;