move Translate to be Translator
[catagits/catbook-code.git] / lib / LolCatalyst / Lite / Controller / Root.pm
index dfe372c..395e4a9 100644 (file)
@@ -23,7 +23,7 @@ sub translate :Local {
          # $c->req->query_params would catch GET params only
      $c->stash(
        lol => $lol,
-       result => $c->model('Translate')->translate($lol),
+       result => $c->model('Translator')->translate($lol),
        template => 'index.tt',
      );
 }