X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FLolCatalyst%2FLite%2FController%2FRoot.pm;h=395e4a98cde4d607a9d5aed9b0ae7761c923a88c;hb=2e909c0da9cbfb35ef78cf2ef48b222dc89f01da;hp=dfe372ce16800203b6c85f8fa5df9a055ee932d8;hpb=cc003be0b27748d7b580743ca4c96720f2a591f5;p=catagits%2Fcatbook-code.git diff --git a/lib/LolCatalyst/Lite/Controller/Root.pm b/lib/LolCatalyst/Lite/Controller/Root.pm index dfe372c..395e4a9 100644 --- a/lib/LolCatalyst/Lite/Controller/Root.pm +++ b/lib/LolCatalyst/Lite/Controller/Root.pm @@ -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', ); }