So you recommend separated get || post methods for each request like:
$r->get('/')->to('home#index');
> $r->get('/photos')->to('photos#index');
> $r->get('/blogs')->to('blogs#index');
>
Right ? If so, how simple task like change language woul be accomplish in
mojo. In my old CGI script it wa done by "&ChangeLanguage if
..->param('change_lang');" With multiple routes how to write code for
language change once for all of them ?
My second question is, is it possible to render HTML::Templates without any
dependencies from CPAN?
Regards.
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.