On Tue, Apr 4, 2017 at 11:21 AM, iaw4 <[email protected]> wrote:

> alas, how would I refer to helpers now?


I don't believe helpers belong in the Controller.  Either use regular
subroutines and pass them as stash values to the templates, or place your
helpers in your main app.

With what you propose, I think you're essentially building 500 different
Mojolicious apps and you want a single router for them all.  You might be
interested in the Mount plugin
<http://mojolicious.org/perldoc/Mojolicious/Plugin/Mount>.  (Or Toadfarm
<https://metacpan.org/pod/Toadfarm>.)

-- 
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 https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to