projects
/
catagits/catbook-code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
chained translator with store
[catagits/catbook-code.git]
/
lib
/
LolCatalyst
/
Lite
/
Controller
/
Root.pm
diff --git
a/lib/LolCatalyst/Lite/Controller/Root.pm
b/lib/LolCatalyst/Lite/Controller/Root.pm
index
395e4a9
..
252b1bc
100644
(file)
--- a/
lib/LolCatalyst/Lite/Controller/Root.pm
+++ b/
lib/LolCatalyst/Lite/Controller/Root.pm
@@
-16,7
+16,7
@@
sub default :Path {
$c->response->body( 'Page not found' );
}
-sub translate :Local {
+sub translate :Private {
my ($self, $c) = @_;
my $lol = $c->req->body_params->{lol}; # only for a POST request
# $c->req->params->{lol} would catch GET or POST