I want to reuse a set of controllers of a different hierarchy (starting
with MyOther) used by my application (MyApp::Controller). But when I set:
$app->routes->get('/init/:id')->to(controller =>"MyOther::Controller",
action=> 'init' );
I get an error in run time: (...) Controller "MyApp::MyOther::Controller"
does not exist
I don't know how to avoid the automatic "MyApp::" prefix
Thanks!
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/mojolicious/2abe60b0-ca69-4f87-9c6d-5a9b22d7e1cdo%40googlegroups.com.