chained translator with store
[catagits/catbook-code.git] / lib / LolCatalyst / Lite / Controller / Root.pm
index 395e4a9..252b1bc 100644 (file)
@@ -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