projects
/
catagits/Catalyst-Runtime.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
silence warnings in tests
[catagits/Catalyst-Runtime.git]
/
t
/
lib
/
TestDataHandlers
/
Controller
/
Root.pm
1
package TestDataHandlers::Controller::Root;
2
3
use base 'Catalyst::Controller';
4
5
sub root :Path('/') {}
6
7
sub test_json :Local {
8
my ($self, $c) = @_;
9
$c->res->body($c->req->body_data->{message});
10
}
11
12
sub test_nested_for :Local {
13
my ($self, $c) = @_;
14
$c->res->body($c->req->body_data->{nested}->{value});
15
}
16
17
1;