Welcome Guest, Not a member yet? Register   Sign In
Magic routing for modules
#5

(07-24-2019, 05:19 PM)InsiteFX Wrote: I define all my routes in the module config folder route.php

I use a Group Closure to add them in makes it easier to do.

Hi @InsiteFX,

Do you mean you were able to load the routes from the active module?

Actually, I want to load the routes from the active module.

I tried by looking into the HMVC MX_Router.php it seems the system is getting the active module name after the routes are initialized.

Can you please help me with this?

Thanks!
Reply


Messages In This Thread
Magic routing for modules - by Fred9176 - 07-24-2019, 08:32 AM
RE: Magic routing for modules - by albertleao - 07-24-2019, 11:32 AM
RE: Magic routing for modules - by InsiteFX - 07-24-2019, 05:19 PM
RE: Magic routing for modules - by [email protected] - 04-29-2021, 12:35 PM
RE: Magic routing for modules - by MGatner - 07-25-2019, 06:48 AM
RE: Magic routing for modules - by paliz - 06-09-2021, 10:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB