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 suraj@codegniter - 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
RE: Magic routing for modules - by UC_SUJITH - 07-02-2022, 07:05 AM
RE: Magic routing for modules - by kenjis - 07-03-2022, 12:10 AM
RE: Magic routing for modules - by InsiteFX - 07-02-2022, 11:33 PM
RE: Magic routing for modules - by kenjis - 04-16-2023, 05:40 AM
RE: Magic routing for modules - by InsiteFX - 04-16-2023, 11:03 PM
RE: Magic routing for modules - by mywebmanavgat - 12-17-2023, 01:58 AM
RE: Magic routing for modules - by kenjis - 12-17-2023, 04:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB